Presenting UINavigationController modally -- problem setting up tool and nav bar items in root view controller viewDidLoad
- by Bogatyr
In my iOS app I'm creating and presenting a UINavigationController modally like so:
MyViewController *myvc = [[[MyViewController alloc] initWithNibName:@"MyViewController" bundle:nil] autorelease];
UINavigationController *navVC = [[[UINavigationController alloc] initWithRootViewController:myvc] autorelease];
[self presentModalViewController:navVC…