public interface UIWebViewDelegate
| Modifier and Type | Method and Description |
|---|---|
default void |
didFailLoadWithError(UIWebView webView,
NSError error)
It is used for a web view's failure to loading a frame.
|
default void |
didFinishLoad(UIWebView webView)
It is used after this web view finished loading a frame.
|
default void |
didStartLoad(UIWebView webView)
It is used after this web view started loading a frame.
|
default boolean |
shouldStartLoadWithRequest(UIWebView webView,
NSURLRequest request,
int UIWebViewNavigationType)
It is used before this web view starts the loading of a frame.
|
default void didFailLoadWithError(UIWebView webView, NSError error)
webView - The web view that corresponds to this delegate.error - The error of the loading.default boolean shouldStartLoadWithRequest(UIWebView webView, NSURLRequest request, int UIWebViewNavigationType)
webView - The web view that corresponds to this delegate.request - The content location of the frame.UIWebViewNavigationType - The user action that triggered the load
requestUIWebViewNavigationTypedefault void didFinishLoad(UIWebView webView)
webView - The web view that corresponds to this delegate.default void didStartLoad(UIWebView webView)
webView - The web view that corresponds to this delegate.Copyright © 2020. All rights reserved.