Conforms to NSObject
Declared in SCWebViewDelegate.h

Overview

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

Tasks

Instance Methods

webView:didFailLoadWithError:

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

- (void)webView:(SCWebView *)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 [UIWebViewDelegate webView:didFailLoadWithError:] method.

Declared In

SCWebViewDelegate.h

webView:shouldStartLoadWithRequest:navigationType:

This method is an alias to [UIWebViewDelegate webView:shouldStartLoadWithRequest:navigationType:] method.

- (BOOL)webView:(SCWebView *)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.

Discussion

This method is an alias to [UIWebViewDelegate webView:shouldStartLoadWithRequest:navigationType:] method.

Declared In

SCWebViewDelegate.h

webViewDidFinishLoad:

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

- (void)webViewDidFinishLoad:(SCWebView *)webView

Parameters

webView

The web view has finished loading.

Discussion

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

Declared In

SCWebViewDelegate.h

webViewDidStartLoad:

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

- (void)webViewDidStartLoad:(SCWebView *)webView

Parameters

webView

The web view that has begun loading a new frame.

Discussion

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

Declared In

SCWebViewDelegate.h