The custom toolbar associated with the navigation controller.
- iOS 3.0+
- Mac Catalyst 13.0+
This property contains a reference to the built-in toolbar managed by the navigation controller. Access to this toolbar is provided solely for clients that want to present an action sheet from the toolbar. You should not modify the
UIToolbar object directly.
Management of this toolbar’s contents is done through the custom view controllers associated with this navigation controller. For each view controller on the navigation stack, you can assign a custom set of toolbar items using the
set method of
The visibility of this toolbar is controlled by the
toolbar property. The toolbar also obeys the
hides property of the currently visible view controller and hides and shows itself automatically as needed.