Open ragcsalo opened 4 years ago
No news on this one? Does it mean we can't use contentsync on WKWebView? :-(
Allright... so it turned out that I had to use ContentSync.loadUrl with WKWebView to load the URL. And it works on newer devices (iOS 13 and 14 beta). But it doesn't work on iOS 10 an 12. :-( Are there any other methods that I could try to jump to the downloaded index.html file on iOS?
The sync process is successful, but I can't open the URL, it says it's outside of the sandbox:
The file I want to open is located here:
/Users/benkesmith/Library/Developer/CoreSimulator/Devices/4CDF822C-5552-4881-BDD0-F01A0D046AF8/data/Containers/Data/Application/20E98EE5-C810-4EBB-9D04-2F26BE93CEE2/Library/NoCloud/updated/www/index.html
Is there a workaround for WKWebView?