SCWebBrowserDelegate Protocol Reference
| 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.
Tasks
-
– webView:shouldStartLoadWithRequest:navigationType:This method is alias to [SCWebViewDelegate webView:shouldStartLoadWithRequest:navigationType:] method.
-
– webViewDidStartLoad:This method is alias to [SCWebViewDelegate webViewDidStartLoad:] method.
-
– webViewDidFinishLoad:This method is alias to [SCWebViewDelegate webViewDidFinishLoad:] method.
-
– webView:didFailLoadWithError:This method is alias to [SCWebViewDelegate webView:didFailLoadWithError:] method.
Instance Methods
webView:didFailLoadWithError:
This method is alias to [SCWebViewDelegate webView:didFailLoadWithError:] method.
- (void)webView:(SCWebBrowser *)webView didFailLoadWithError:(NSError *)errorParameters
- 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.hwebView:shouldStartLoadWithRequest:navigationType:
This method is alias to [SCWebViewDelegate webView:shouldStartLoadWithRequest:navigationType:] method.
- (BOOL)webView:(SCWebBrowser *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationTypeParameters
- 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 alias to [SCWebViewDelegate webView:shouldStartLoadWithRequest:navigationType:] method.
Declared In
SCWebBrowserDelegate.hwebViewDidFinishLoad:
This method is alias to [SCWebViewDelegate webViewDidFinishLoad:] method.
- (void)webViewDidFinishLoad:(SCWebBrowser *)webViewParameters
- webView
The web view has finished loading.
Discussion
This method is alias to [SCWebViewDelegate webViewDidFinishLoad:] method.
Declared In
SCWebBrowserDelegate.hwebViewDidStartLoad:
This method is alias to [SCWebViewDelegate webViewDidStartLoad:] method.
- (void)webViewDidStartLoad:(SCWebBrowser *)webViewParameters
- webView
The web view that has begun loading a new frame.
Discussion
This method is alias to [SCWebViewDelegate webViewDidStartLoad:] method.
Declared In
SCWebBrowserDelegate.h