
Untitled
By: a guest on
Jan 14th, 2009 | syntax:
Objective C | size: 0.60 KB | hits: 148 | expires: Never
- (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");
}
}