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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software