Instance Method

webView:didFailProvisionalNavigation:withError:

Called when an error occurs while the web view is loading content.

Declaration

- (void)webView:(WKWebView *)webView didFailProvisionalNavigation:(WKNavigation *)navigation withError:(NSError *)error;

Parameters

webView

The web view invoking the delegate method.

navigation

The navigation object that started to load a page.

error

The error that occurred.

See Also

Reacting to Errors

- webView:didFailNavigation:withError:

Called when an error occurs during navigation.