toolbarWillAddItem(_:)
Tells the delegate that the toolbar is about to add the specified item.
Declaration
@MainActor optional func toolbarWillAddItem(_ notification: Notification)Parameters
- notification:
A notification named Willadditemnotification.
Discussion
Use this method to cache references to new toolbar items or perform any tasks related to the addition of those items.