Contents

toolbarWillAddItem(_:)

Tells the delegate that the toolbar is about to add the specified item.

Declaration

@MainActor optional func toolbarWillAddItem(_ notification: Notification)

Parameters

Discussion

Use this method to cache references to new toolbar items or perform any tasks related to the addition of those items.

See Also

Adding and removing items