WKWebViewConfiguration.SetUrlSchemeHandler Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- urlScheme
- String
The URL scheme for which to set a handler.
- Attributes