UINavigationControllerDelegate Protocol Reference
| Conforms to | |
| Framework | /System/Library/Framework/UIKit.framework |
| Availability | Available in iOS 2.0 and later. |
| Companion guide | |
| Declared in | UINavigationController.h |
Overview
The UINavigationControllerDelegate protocol defines methods a navigation controller delegate can implement to change the behavior when view controllers are pushed and popped from the stack of a navigation controller.
Instance Methods
navigationController:didShowViewController:animated:
Sent to the receiver just after the navigation controller displays a view controller’s view and navigation item properties.
Parameters
- navigationController
The navigation controller that is showing the properties of a view controller.
- viewController
The view controller whose view and navigation item properties are being shown.
- animated
YESto animate the transition; otherwise,NO.
Availability
- Available in iOS 2.0 and later.
Declared In
UINavigationController.hnavigationController:willShowViewController:animated:
Sent to the receiver just before the navigation controller displays a view controller’s view and navigation item properties.
Parameters
- navigationController
The navigation controller that is showing the properties of a view controller.
- viewController
The view controller whose view and navigation item properties are being shown.
- animated
YESto animate the transition; otherwise,NO.
Availability
- Available in iOS 2.0 and later.
Declared In
UINavigationController.h© 2009 Apple Inc. All Rights Reserved. (Last updated: 2009-05-22)