Commit f155b2c2 authored by 翟国钧's avatar 翟国钧

Merge branch 'wy/tabbar' into 'master'

删除对bottomTabBar的控制



See merge request !6
parents dc037ef1 4ce887d4
......@@ -95,15 +95,6 @@
}
}
- (void)viewDidAppear:(BOOL)animated
{
[super viewDidAppear:animated];
// 如果栈内的层级多于一个,隐藏UITabBar
if (self.navigationController.childViewControllers.count >= 1){
[self setHidesBottomBarWhenPushed:YES];
}
}
- (void)viewWillAppear:(BOOL)animated
{
[super viewWillAppear:animated];
......@@ -116,12 +107,6 @@
- (void)viewWillDisappear:(BOOL)animated
{
[super viewWillDisappear:animated];
// 如果栈内的层级小于等于两个,取消隐藏下面的tabbar
if (self.navigationController.childViewControllers.count <= 2) {
[self setHidesBottomBarWhenPushed:NO];
}
[[Phobos sharedClient] onPVEnd:self];
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment