The navigation bar’s delegate object.
- iOS 2.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
The delegate must conform to the
UINavigationBarDelegate protocol. The default value is
If the navigation bar was created by a navigation controller and is being managed by that object, you must not change the value of this property. A navigation controller acts as the delegate for the navigation bar it creates.
Responding to Navigation Bar Changes
UINavigationBarDelegate protocol defines optional methods that a
UINavigationBar delegate should implement to update its views when items are pushed and popped from the stack. The navigation bar represents only the bar at the top of the screen, not the view below. It’s the application’s responsibility to implement the behavior when the top item changes.