Instance Method

webView:didFailNavigation:withError:

Called when an error occurs during navigation.

Declaration

- (void)webView:(WKWebView *)webView didFailNavigation:(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:didFailProvisionalNavigation:withError:

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