Tells the delegate that an item was popped from the navigation bar.
SDKs
- iOS 2.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
Framework
- UIKit
Declaration
optional func navigationBar(_ navigationBar: UINavigation Bar, didPop item: UINavigation Item)
Parameters
navigationBar
The navigation bar that the item is being popped from.
item
The navigation item that is being popped.
Discussion
If animating the pop operation, this method is invoked after the animation ends; otherwise, it is invoked immediately after the pop.