Instance Method

getToolbarItem(completionHandler:)

Gets the extension’s toolbar item from the target window.

Declaration

func getToolbarItem(completionHandler: @escaping (SFSafariToolbarItem?) -> Void)

Parameters

completionHandler

A block called after the toolbar item is retrieved.