iOS Guides | Samples

UIKit.UIWebViewDelegate Class

A class used to receive notifications from a UIWebView class.

See Also: UIWebViewDelegate


[Foundation.Register("UIWebViewDelegate", false)]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.None, "No longer supported; please adopt 'WKWebView' APIs.")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public class UIWebViewDelegate : NSObject, IDisposable, IUIWebViewDelegate


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

Related content


Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions:

The members of UIKit.UIWebViewDelegate are listed below.

See Also: NSObject

Public Constructors

Default constructor that initializes a new instance of this class with no parameters.

Protected Constructors

Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Methods

LoadFailed(UIWebView, NSError)
Indicates that the UIWebView's attempt to load data failed.
Indicates that loading has completed.
Indicates that loading has begun.
ShouldStartLoad(UIWebView, NSUrlRequest, UIWebViewNavigationType) : Boolean
Whether the UIWebView should begin loading data.