Instance Method

getActivePage(completionHandler:)

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

Declaration

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

Parameters

completionHandler

A block to call when the active page is retrieved.

See Also

Accessing Pages

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

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