ToolbarItemProviding
public protocol ToolbarItemProviding
A view controller that is pushed onto a toolbar controller must implement this protocol if it wants to present a toolbar item in the toolbar.
-
The toolbar item that should be displayed in the toolbar when the view controller that adopts this protocol is presented.
Declaration
Swift
var toolbarItem: ToolbarItem { get }