共用方式為


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

傳回

屬性

適用於