Commit 4ce887d4 authored by 汪洋's avatar 汪洋

删除对bottomTabBar的控制

parent dc037ef1
......@@ -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