Class

SFSafariWindow

A proxy for a Safari window.

Declaration

class SFSafariWindow : NSObject

Topics

Working with Tabs

func getActiveTab(completionHandler: (SFSafariTab?) -> Void)

Calls the completion handler with the active tab in the target window.

Getting the Toolbar Item

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

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

Relationships

Inherits From

See Also

Safari App Extensions

Safari App Extensions

Learn how Safari app extensions extend the web-browsing experience in Safari by leveraging web technologies and native code.

class SFSafariApplication

A proxy for the Safari app.

class SFSafariPage

A proxy for a Safari webpage.

class SFSafariTab

A proxy for a tab in a Safari window.