navigationBar(_:shouldPop:)
Returns a Boolean value indicating whether the navigation bar should pop an item.
Declaration
optional func navigationBar(_ navigationBar: UINavigationBar, shouldPop item: UINavigationItem) -> BoolParameters
- navigationBar:
The navigation bar that the item is being popped from.
- item:
The navigation item that is being popped.
Return Value
Discussion
Sent to the delegate before popping an item from the navigation bar.