Advertisement
Guest User

Untitled

a guest
Jan 14th, 2009
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement