View difference between Paste ID: f28191612 and
SHOW:
|
|
- or go back to the newest paste.
1 | - (void)navigationController:(UINavigationController *)navigationController | |
2 | willShowViewController:(UIViewController *)viewController animated:(BOOL)animated { | |
3 | @@ if ([viewController isEqual:[navigationController.viewControllers objectAtIndex:0]]) { | |
4 | // tab bar icon touched while some view controller from "more" is active | |
5 | [[self moreNavigationController] setNavigationBarHidden:NO animated:NO]; | |
6 | NSLog(@"Unhiding navigation bar"); | |
7 | } else { | |
8 | [[self moreNavigationController] setNavigationBarHidden:YES animated:NO]; | |
9 | NSLog(@"Hiding navigation bar"); | |
10 | } | |
11 | } | |
12 |