iOS Guides | Samples

UIKit.UIWebViewDelegate Class

A class used to receive notifications from a UIWebView class.

See Also: UIWebViewDelegate

Syntax

[Foundation.Model]
[Foundation.Protocol]
[Foundation.Register("UIWebViewDelegate", false)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public class UIWebViewDelegate : NSObject, IUIWebViewDelegate, IDisposable

Remarks

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

Related content

Requirements

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

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.
LoadingFinished(UIWebView)
Indicates that loading has completed.
LoadStarted(UIWebView)
Indicates that loading has begun.
ShouldStartLoad(UIWebView, NSUrlRequest, UIWebViewNavigationType) : Boolean
Whether the UIWebView should begin loading data.