Düzenle

Aracılığıyla paylaş


IWKUIDelegate Interface

Definition

Interface representing the required methods (if any) of the protocol WKUIDelegate.

[Foundation.Protocol(Name="WKUIDelegate", WrapperType=typeof(WebKit.WKUIDelegateWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IWKUIDelegate : IDisposable, ObjCRuntime.INativeObject
type IWKUIDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

This interface contains the required methods (if any) from the protocol defined by WKUIDelegate.

If developers create classes that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the WKUIDelegate protocol.

Optional methods (if any) are provided by the WKUIDelegate_Extensions class as extension methods to the interface, allowing developers to invoke any optional methods on the protocol.

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Extension Methods

CommitPreviewingViewController(IWKUIDelegate, WKWebView, UIViewController)

Method that is called to respond when the user pops a preview action.

CreateWebView(IWKUIDelegate, WKWebView, WKWebViewConfiguration, WKNavigationAction, WKWindowFeatures)

Creates and configures a new WKWebView.

DidClose(IWKUIDelegate, WKWebView)

Method that is called when webView closes.

GetPreviewingViewController(IWKUIDelegate, WKWebView, WKPreviewElementInfo, IWKPreviewActionItem[])

Method that is called when the user peeks at content.

RunJavaScriptAlertPanel(IWKUIDelegate, WKWebView, String, WKFrameInfo, Action)

Shows a JavaScript alert to the user.

RunJavaScriptConfirmPanel(IWKUIDelegate, WKWebView, String, WKFrameInfo, Action<Boolean>)

Shows a JavaScript confirmation dialog to the user.

RunJavaScriptTextInputPanel(IWKUIDelegate, WKWebView, String, String, WKFrameInfo, Action<String>)

Shows a JavaScript text input box to the user.

RunOpenPanel(IWKUIDelegate, WKWebView, WKOpenPanelParameters, WKFrameInfo, Action<NSUrl[]>)
ShouldPreviewElement(IWKUIDelegate, WKWebView, WKPreviewElementInfo)

Method that is called to find out if the element should provide a preview.

Applies to