My application has a navigation controller and I don\'t want any animation in it :
to prevent an animation when pushing a view, it\'s easy, via the pushView
Not that you should, however you can override the standard behaviour by creating a custom leftBarButtonItem in your viewController.
UIBarButtonItem *item = [[UIBarButtonItem alloc] initWithTitle:@"Back" style: UIBarButtonItemStylePlain target:self action:@selector(backButtonPressed)];
[[self navigationItem] setLeftBarButtonItem:item];
[item release];
- (void)backButtonPressed
{
[[self navigationContoller] popViewControllerAnimated:NO];
}
The documentation says that you should only pass NO before the nav controller's view is displayed.
Remember that applications that do not conform to the iPhone Interface Guidelines will not be accepted into the app store.