Modifica

Condividi tramite


WKWebViewConfiguration.SetUrlSchemeHandler Method

Definition

Sets the handler for the specified URL scheme.

[Foundation.Export("setURLSchemeHandler:forURLScheme:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetUrlSchemeHandler (WebKit.IWKUrlSchemeHandler urlSchemeHandler, string urlScheme);
abstract member SetUrlSchemeHandler : WebKit.IWKUrlSchemeHandler * string -> unit
override this.SetUrlSchemeHandler : WebKit.IWKUrlSchemeHandler * string -> unit

Parameters

urlSchemeHandler
IWKUrlSchemeHandler

The handler to set.

This parameter can be null.

urlScheme
String

The URL scheme for which to set a handler.

Attributes

Applies to