Trait UIWebViewDelegate

Source
pub unsafe trait UIWebViewDelegate: NSObjectProtocol + MainThreadOnly {
    // 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.
Expand description

Provided Methods§

Source

unsafe fn webView_shouldStartLoadWithRequest_navigationType( &self, web_view: &UIWebView, request: &NSURLRequest, navigation_type: UIWebViewNavigationType, ) -> bool
where Self: Sized + Message,

👎Deprecated: No longer supported.
Available on crate features UIResponder and UIView only.
Source

unsafe fn webViewDidStartLoad(&self, web_view: &UIWebView)
where Self: Sized + Message,

👎Deprecated: No longer supported.
Available on crate features UIResponder and UIView only.
Source

unsafe fn webViewDidFinishLoad(&self, web_view: &UIWebView)
where Self: Sized + Message,

👎Deprecated: No longer supported.
Available on crate features UIResponder and UIView only.
Source

unsafe fn webView_didFailLoadWithError( &self, web_view: &UIWebView, error: &NSError, )
where Self: Sized + Message,

👎Deprecated: No longer supported.
Available on crate features UIResponder and UIView only.

Trait Implementations§

Source§

impl ProtocolType for dyn UIWebViewDelegate

Source§

const NAME: &'static str = "UIWebViewDelegate"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
Source§

impl<T> ImplementedBy<T> for dyn UIWebViewDelegate

Implementations on Foreign Types§

Source§

impl<T> UIWebViewDelegate for ProtocolObject<T>

Implementors§