WKWebView.LoadFileUrl(NSUrl, NSUrl) 方法

定义

加载包含指定文件内容的网页。

[Foundation.Export("loadFileURL:allowingReadAccessToURL:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public virtual WebKit.WKNavigation LoadFileUrl (Foundation.NSUrl url, Foundation.NSUrl readAccessUrl);
abstract member LoadFileUrl : Foundation.NSUrl * Foundation.NSUrl -> WebKit.WKNavigation
override this.LoadFileUrl : Foundation.NSUrl * Foundation.NSUrl -> WebKit.WKNavigation

参数

url
NSUrl
readAccessUrl
NSUrl

返回

属性

适用于