SPiDWebView Class Reference
| Inherits from | UIWebView |
| Conforms to | UIWebViewDelegate |
| Declared in | SPiDWebView.h SPiDWebView.m |
Tasks
Properties
-
isPendingproperty -
requestURLproperty -
completionHandlerproperty
Public methods
-
+ authorizationWebViewWithCompletionHandler:Creates a authorization WebView.
-
+ signupWebViewWithCompletionHandler:Creates a registration WebView
-
+ forgotPasswordWebViewWithCompletionHandler:Creates a forgot password WebView
Private methods
-
+ webView:Creates a SPiDWebView
-
– webView:shouldStartLoadWithRequest:navigationType:Sent before a web view begins loading a frame.
-
– webViewDidFinishLoad:Sent after a web view finishes loading a frame.
-
– webView:didFailLoadWithError:Sent if a web view failed to load a frame.
Class Methods
authorizationWebViewWithCompletionHandler:
Creates a authorization WebView.
+ (SPiDWebView *)authorizationWebViewWithCompletionHandler:(void ( ^ ) ( NSError *))completionHandlerParameters
- completionHandler
Called after authorization is completed
Return Value
The new WebView
Declared In
SPiDWebView.hforgotPasswordWebViewWithCompletionHandler:
Creates a forgot password WebView
+ (SPiDWebView *)forgotPasswordWebViewWithCompletionHandler:(void ( ^ ) ( NSError *))completionHandlerParameters
- completionHandler
Called after forgot password is completed
Return Value
The new WebView
Declared In
SPiDWebView.hInstance Methods
webView:didFailLoadWithError:
Sent if a web view failed to load a frame.
- (void)webView:(UIWebView *)webView didFailLoadWithError:(NSError *)errorParameters
- webView
The web view that failed to load a frame.
- error
The error that occurred during loading.
Declared In
SPiDWebView.mwebView:shouldStartLoadWithRequest:navigationType:
Sent before a web view begins loading a frame.
- (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationTypeParameters
- 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 .
Declared In
SPiDWebView.m