Sets the toolbar items to be displayed along with the view controller.
- iOS 3.0+
- Mac Catalyst 13.0+
The toolbar items to display in a built-in toolbar.
true, animate the change of items in the toolbar.
View controllers that are managed by a navigation controller can use this method to specify toolbar items for the navigation controller's built-in toolbar. You can set the toolbar items for your view controller before your view controller is displayed or after it is already visible.