UIToolbarDelegate
The interface that toolbar delegate objects implement to manage the toolbar behavior.
Declaration
@MainActor protocol UIToolbarDelegate : UIBarPositioningDelegateOverview
This protocol declares no methods of its own, but conforms to the UIBarPositioningDelegate protocol to support the positioning of a toolbar when it’s moved to a window.