Closed stattrak-dragonlore closed 8 years ago
This is my workaround:
ViewController.m (has tab bar)
a.hidesBottomBarWhenPushed = YES;
AViewController.m (hides tab bar)
- (void)viewWillAppear:(BOOL)animated
{
[super viewWillAppear:animated];
self.tabBarController.tabBar.hidden = YES;
}
- (void)viewWillDisappear:(BOOL)animated
{
if ([self.navigationController.viewControllers indexOfObject:self] == NSNotFound) {
// back button was pressed. We know this is true because self is no longer in the navigation stack.
self.tabBarController.tabBar.hidden = NO;
}
[super viewWillDisappear:animated];
}
Thinks,it solved my problem
In iOS 7:
View Controller
a.hidesBottomBarWhenPushed = YES
;So the tar bar is hidden when
a
is pushed.But the tar bar is shown when
aPopupView
dismiss: