toolbarItemClicked(in:)
A method the system calls when a user clicks a toolbar item associated with the app extension.
Declaration
optional func toolbarItemClicked(in window: SFSafariWindow)Parameters
- window:
The window containing the clicked toolbar item.
Mentioned in
Discussion
The toolbar item can either execute a command or display a popover.