Instance Method

safariViewController(_:didCompleteInitialLoad:)

Tells the delegate that the initial URL load completed.

Declaration

optional func safariViewController(_ controller: SFSafariViewController, didCompleteInitialLoad didLoadSuccessfully: Bool)

Parameters

controller

The view controller.

didLoadSuccessfully

true if loading completed successfully; otherwise, false.

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.