Instance Method

safariViewController:didCompleteInitialLoad:

Tells the delegate that the initial URL load completed.

Declaration

- (void)safariViewController:(SFSafariViewController *)controller didCompleteInitialLoad:(BOOL)didLoadSuccessfully;

Parameters

controller

The view controller.

didLoadSuccessfully

YES if loading completed successfully; otherwise, NO.

Discussion

This method is invoked when SFSafariViewController completes the loading of the URL that you pass to its initializer. The method is not invoked for any subsequent page loads in the same SFSafariViewController instance.

See Also

Working with the View Controller

- safariViewController:activityItemsForURL:title:

Tells the delegate that the user tapped an Action button.

- safariViewControllerDidFinish:

Tells the delegate that the user dismissed the view.