Trait objc2_ui_kit::UIWebViewDelegate
source · pub unsafe trait UIWebViewDelegate: NSObjectProtocol + IsMainThreadOnly {
// Provided methods
unsafe fn webView_shouldStartLoadWithRequest_navigationType(
&self,
web_view: &UIWebView,
request: &NSURLRequest,
navigation_type: UIWebViewNavigationType
) -> bool
where Self: Sized + Message { ... }
unsafe fn webViewDidStartLoad(&self, web_view: &UIWebView)
where Self: Sized + Message { ... }
unsafe fn webViewDidFinishLoad(&self, web_view: &UIWebView)
where Self: Sized + Message { ... }
unsafe fn webView_didFailLoadWithError(
&self,
web_view: &UIWebView,
error: &NSError
)
where Self: Sized + Message { ... }
}
Available on crate feature
UIWebView
only.Provided Methods§
👎Deprecated: No longer supported.
Available on crate features
UIResponder
and UIView
only.unsafe fn webViewDidStartLoad(&self, web_view: &UIWebView)
👎Deprecated: No longer supported.
Available on crate features
UIResponder
and UIView
only.unsafe fn webViewDidFinishLoad(&self, web_view: &UIWebView)
👎Deprecated: No longer supported.
Available on crate features
UIResponder
and UIView
only.unsafe fn webView_didFailLoadWithError( &self, web_view: &UIWebView, error: &NSError )
👎Deprecated: No longer supported.
Available on crate features
UIResponder
and UIView
only.