A proxy for a tab in a Safari window.


class SFSafariTab : NSObject


Accessing Pages

func getActivePage(completionHandler: (SFSafariPage?) -> Void)

Calls the completion handler passing the active page in the tab.

func getPagesWithCompletionHandler(([SFSafariPage]?) -> Void)

Calls the completion handler with all of the tab’s active and preloading pages.

Activating Tabs


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 SFSafariWindow

A proxy for a Safari window.

class SFSafariPage

A proxy for a Safari webpage.