Problem With UINavigationBar:didPopItem
any body have this resolved ?
MacBook 2.4 GHz, Mac OS X (10.5.6)
You can make a difference in the Apple Support Community!
When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.
When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.
MacBook 2.4 GHz, Mac OS X (10.5.6)
- (void)applicationDidFinishLaunching:(UIApplication *)application
{
// add the navigation controller's view to the window
[window addSubview:[navigationController view]];
UINavigationBar *navBar = [navigationController navigationBar];
MainViewController *mainViewController = (MainViewController*)[navigationController topViewController];
// how can we set the delegate if we don't "access the navigation bar directly"?
[navBar setDelegate:mainViewController];
[window makeKeyAndVisible];
}
Problem With UINavigationBar:didPopItem