Instance Method

webView:shouldStartLoadWithRequest:navigationType:

Sent before a web view begins loading a frame.

Declaration

- (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType;

Parameters

webView

The web view that is about to load a new frame.

request

The content location.

navigationType

The type of user action that started the load request.

Return Value

YES if the web view should begin loading content; otherwise, NO .

See Also

Loading Content

- webViewDidStartLoad:

Sent after a web view starts loading a frame.

Deprecated
- webViewDidFinishLoad:

Sent after a web view finishes loading a frame.

Deprecated
- webView:didFailLoadWithError:

Sent if a web view failed to load a frame.

Deprecated