I have a problem with something that seems very simple. My application has a view hierarchy consisting of a UITabBarController containing UINavigationControllers. When I move from the root to the second level I set hidesBottomBarWhenPushed to true so that the tab bar is hidden.
On my firstLevelController:
[secondLevelController setHidesBottomBarWhenPushed:YES]; [self.navigationController pushViewController:secondLevelController animated:YES];
After that, when I click on the third level, I again bring up the tab bar, running in the second LevelController:
[self setHidesBottomBarWhenPushed:NO]; [thirdLevelController setHidesBottomBarWhenPushed:NO]; [self.navigationController pushViewController:thirdLevelController animated:YES];
(I know I didn't like it either [self setHidesBottomBarWhenPushed:NO] , but it didn't work otherwise ...)
So here is the problem: when I click the back button on the third level and the second view appears, I need to hide the panel again, but I could not find a way to do this.
Any help is appreciated
source share