net9.0-ios17.2
namespace WebKit
{
    [Protocol(Name = "WKUIDelegate", WrapperType = typeof(WKUIDelegateWrapper))]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidClose", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(WKWebView) }, Selector = "webViewDidClose:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "CommitPreviewingViewController", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(WKWebView), typeof(UIViewController) }, Selector = "webView:commitPreviewingViewController:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillCommitContextMenu", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(WKWebView), typeof(WKContextMenuElementInfo), typeof(IUIContextMenuInteractionCommitAnimating) }, Selector = "webView:contextMenuForElement:willCommitWithAnimator:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ContextMenuWillPresent", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(WKWebView), typeof(WKContextMenuElementInfo) }, Selector = "webView:contextMenuWillPresentForElement:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ContextMenuDidEnd", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(WKWebView), typeof(WKContextMenuElementInfo) }, Selector = "webView:contextMenuDidEndForElement:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillPresentEditMenu", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(WKWebView), typeof(IUIEditMenuInteractionAnimating) }, Selector = "webView:willPresentEditMenuWithAnimator:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillDismissEditMenu", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(WKWebView), typeof(IUIEditMenuInteractionAnimating) }, Selector = "webView:willDismissEditMenuWithAnimator:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "CreateWebView", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(WKWebView), typeof(WKWebViewConfiguration), typeof(WKNavigationAction), typeof(WKWindowFeatures) }, ReturnType = typeof(WKWebView), Selector = "webView:createWebViewWithConfiguration:forNavigationAction:windowFeatures:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "RunJavaScriptAlertPanel", ParameterBlockProxy = new[] { null, null, null, typeof(NIDAction) }, ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(WKWebView), typeof(string), typeof(WKFrameInfo), typeof(Action) }, Selector = "webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "RunJavaScriptConfirmPanel", ParameterBlockProxy = new[] { null, null, null, typeof(NIDActionArity1V4) }, ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(WKWebView), typeof(string), typeof(WKFrameInfo), typeof(Action<bool>) }, Selector = "webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:completionHandler:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "RunJavaScriptTextInputPanel", ParameterBlockProxy = new[] { null, null, null, null, typeof(NIDActionArity1V66) }, ParameterByRef = new[] { false, false, false, false, false }, ParameterType = new[] { typeof(WKWebView), typeof(string), typeof(string), typeof(WKFrameInfo), typeof(Action<string>) }, Selector = "webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:completionHandler:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldPreviewElement", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(WKWebView), typeof(WKPreviewElementInfo) }, ReturnType = typeof(bool), Selector = "webView:shouldPreviewElement:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetPreviewingViewController", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(WKWebView), typeof(WKPreviewElementInfo), typeof(IWKPreviewActionItem[]) }, ReturnType = typeof(UIViewController), Selector = "webView:previewingViewControllerForElement:defaultActions:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SetContextMenuConfiguration", ParameterBlockProxy = new[] { null, null, typeof(NIDActionArity1V277) }, ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(WKWebView), typeof(WKContextMenuElementInfo), typeof(Action<UIContextMenuConfiguration>) }, Selector = "webView:contextMenuConfigurationForElement:completionHandler:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "RequestDeviceOrientationAndMotionPermission", ParameterBlockProxy = new[] { null, null, null, typeof(NIDActionArity1V278) }, ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(WKWebView), typeof(WKSecurityOrigin), typeof(WKFrameInfo), typeof(Action<WKPermissionDecision>) }, Selector = "webView:requestDeviceOrientationAndMotionPermissionForOrigin:initiatedByFrame:decisionHandler:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "RequestMediaCapturePermission", ParameterBlockProxy = new[] { null, null, null, null, typeof(NIDActionArity1V278) }, ParameterByRef = new[] { false, false, false, false, false }, ParameterType = new[] { typeof(WKWebView), typeof(WKSecurityOrigin), typeof(WKFrameInfo), typeof(WKMediaCaptureType), typeof(Action<WKPermissionDecision>) }, Selector = "webView:requestMediaCapturePermissionForOrigin:initiatedByFrame:type:decisionHandler:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShowLockDownMode", ParameterBlockProxy = new[] { null, null, typeof(NIDActionArity1V279) }, ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(WKWebView), typeof(string), typeof(Action<WKDialogResult>) }, Selector = "webView:showLockdownModeFirstUseMessage:completionHandler:")]
    [SupportedOSPlatform("maccatalyst")]
    [SupportedOSPlatform("ios")]
    [SupportedOSPlatform("macos")]
    public interface IWKUIDelegate : INativeObject, IDisposable
}
nuget.org
0.0 %
Reference this API
0.0 %
Derive from this class or interface
.NET 6.07.08.09.0
Information specific to net9.0
Platforms This API is only available when you target a specific platform:
iOS 10.010.110.210.311.011.111.211.311.412.012.112.212.312.413.013.113.213.313.413.513.614.014.114.214.314.414.515.015.215.416.016.116.216.417.017.2
Mac Catalyst 13.113.213.313.413.514.214.314.414.515.015.215.416.116.216.417.017.2
macOS 10.1410.1510.1611.011.111.211.312.012.112.313.013.113.314.014.2
Information specific to net9.0-ios17.2
Assembly

Microsoft.iOS , Version=17.2.0.0, PublicKeyToken=84e04ff9cfb79065

Referencing

The API is automatically referenced.

Platform Restrictions

This API is only supported on the following platforms:

  • iOS
  • Mac Catalyst
  • macOS
  • Built-in API
  • Package-provided API

11/22/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙