瀏覽代碼

Made instructions more clear

rafern 6 年之前
父節點
當前提交
859e7cbc75
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -164,7 +164,7 @@ Future<String> loadJS(String name) async {
 ### Accessing local files in the file system
 Set the `withLocalUrl` option to true in the launch function or in the Webview scaffold to enable support for local URLs.
 
-Note that, on iOS, the `localUrlScope` option also needs to be set in the Webview scaffold to the local path where file access should be allowed, otherwise, only the requested file will be allowed, resulting in so subresources being loaded. This option is ignored on Android.
+Note that, on iOS, the `localUrlScope` option also needs to be set to a path to a directory. All files inside this folder (or subfolder) will be allowed access. If ommited, only the local file being opened will have access allowed, resulting in no subresources being loaded. This option is ignored on Android.
 
 ### Webview Events