Share via


IUIWebViewDelegate Interface

Definition

A class used to receive notifications from a UIWebView class.

[Foundation.Protocol(Name="UIWebViewDelegate", WrapperType=typeof(UIKit.UIWebViewDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldStartLoad", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIWebView), typeof(Foundation.NSUrlRequest), typeof(UIKit.UIWebViewNavigationType) }, ReturnType=typeof(System.Boolean), Selector="webView:shouldStartLoadWithRequest:navigationType:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="LoadStarted", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIWebView) }, Selector="webViewDidStartLoad:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="LoadingFinished", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIWebView) }, Selector="webViewDidFinishLoad:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="LoadFailed", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIWebView), typeof(Foundation.NSError) }, Selector="webView:didFailLoadWithError:")]
public interface IUIWebViewDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="UIWebViewDelegate", WrapperType=typeof(UIKit.UIWebViewDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldStartLoad", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIWebView), typeof(Foundation.NSUrlRequest), typeof(UIKit.UIWebViewNavigationType) }, ReturnType=typeof(System.Boolean), Selector="webView:shouldStartLoadWithRequest:navigationType:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="LoadStarted", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIWebView) }, Selector="webViewDidStartLoad:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="LoadingFinished", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIWebView) }, Selector="webViewDidFinishLoad:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="LoadFailed", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIWebView), typeof(Foundation.NSError) }, Selector="webView:didFailLoadWithError:")>]
type IUIWebViewDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

A strongly typed implementation of a class that can be used to respond to events raised by the UIWebView.

Properties

Name Description
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

Name Description
LoadFailed(UIWebView, NSError)

Indicates that the UIWebView's attempt to load data failed.

LoadingFinished(UIWebView)

Indicates that loading has completed.

LoadStarted(UIWebView)

Indicates that loading has begun.

ShouldStartLoad(UIWebView, NSUrlRequest, UIWebViewNavigationType)

Whether the UIWebView should begin loading data.

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)
LoadFailed(IUIWebViewDelegate, UIWebView, NSError)

Indicates that the UIWebView's attempt to load data failed.

LoadingFinished(IUIWebViewDelegate, UIWebView)

Indicates that loading has completed.

LoadStarted(IUIWebViewDelegate, UIWebView)

Indicates that loading has begun.

ShouldStartLoad(IUIWebViewDelegate, UIWebView, NSUrlRequest, UIWebViewNavigationType)

Whether the UIWebView should begin loading data.

Applies to

See also