Conforms to NSObject
Declared in SCWebBrowserDelegate.h

Overview

The SCWebBrowserDelegate protocol defines methods that a delegate of the SCWebBrowser can optionally implement to intervene when web content is loaded.

Instance Methods

webView:didFailLoadWithError:

This method is alias to [SCWebViewDelegate webView:didFailLoadWithError:] method.

- (void)webView:(SCWebBrowser *)webView didFailLoadWithError:(NSError *)error

Parameters

webView

The web view that failed to load a frame.

error

The error that occurred during loading.

Discussion

This method is alias to [SCWebViewDelegate webView:didFailLoadWithError:] method.

Declared In

SCWebBrowserDelegate.h

webView:shouldStartLoadWithRequest:navigationType:

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

Parameters

webView

The web view that is about to load a new frame. This object invokes the selector.

request

The content location.

navigationType

The type of user action that started the load request.

Declared In

SCWebBrowserDelegate.h

webViewDidFinishLoad:

This method is alias to [SCWebViewDelegate webViewDidFinishLoad:] method.

- (void)webViewDidFinishLoad:(SCWebBrowser *)webView

Parameters

webView

The web view has finished loading.

Discussion

This method is alias to [SCWebViewDelegate webViewDidFinishLoad:] method.

Declared In

SCWebBrowserDelegate.h

webViewDidStartLoad:

This method is alias to [SCWebViewDelegate webViewDidStartLoad:] method.

- (void)webViewDidStartLoad:(SCWebBrowser *)webView

Parameters

webView

The web view that has begun loading a new frame.

Discussion

This method is alias to [SCWebViewDelegate webViewDidStartLoad:] method.

Declared In

SCWebBrowserDelegate.h