Contents

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.

See Also

Working with the View Controller