navigationBar(_:shouldPush:)
Returns a Boolean value indicating whether the navigation bar should push an item.
Declaration
optional func navigationBar(_ navigationBar: UINavigationBar, shouldPush item: UINavigationItem) -> BoolParameters
- navigationBar:
The navigation bar that the item is being pushed onto.
- item:
The navigation item that is being pushed.
Return Value
Discussion
Sent to the delegate before pushing an item onto the navigation bar.