Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - (void)navigationController:(UINavigationController *)navigationController
- willShowViewController:(UIViewController *)viewController animated:(BOOL)animated {
- @@ if ([viewController isEqual:[navigationController.viewControllers objectAtIndex:0]]) {
- // tab bar icon touched while some view controller from "more" is active
- [[self moreNavigationController] setNavigationBarHidden:NO animated:NO];
- NSLog(@"Unhiding navigation bar");
- } else {
- [[self moreNavigationController] setNavigationBarHidden:YES animated:NO];
- NSLog(@"Hiding navigation bar");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement