編輯

共用方式為


WKWebView.HandlesUrlScheme(String) Method

Definition

Returns true if the web view has a handler for the specified url scheme.

[Foundation.Export("handlesURLScheme:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static bool HandlesUrlScheme (string urlScheme);
static member HandlesUrlScheme : string -> bool

Parameters

urlScheme
String

The URL scheme to check.

Returns

Attributes

Applies to