WKWebView "loadFileURL" not seem to work in iOS 14 beta

Have been using WKWebView:

"loadFileURL:(NSURL *)URL
allowingReadAccessToURL:(NSURL *)readAccessURL"

to load local html file which loads some text and image files.

With the directory that html and images files reside in assigned to "allowingReadAccessToURL", it works fine in iOS 13.X.

But this broke in iOS 14 Beta, got "domain = NSURLErrorDomain, code = -1100" which is "NSURLErrorFileDoesNotExist = -1100", so guess NOT being able to access to that local file even though I specify the directory to "allowingReadAccessToURL".

Anyone has the same issue in iOS 14 beta?


Same issue in iOS 14
Same issue. Even with UIWebView. But only with url escaped links (filename with special characters:Hindi or Russian)
Still happens to latest iOS 14 Beta 3
Same issue in iOS 14 Beta 2 and 3. Only with filename contains Chinese or Japanese characters.
Accepted Answer
Just tried the latest iOS 14 Beta 4. I'm glad it seems to be fixed for this issue on iOS 14 Beta 4
WKWebView "loadFileURL" not seem to work in iOS 14 beta
 
 
Q