Hi, I'm trying to load a local html file where I just saved some changes to in a WKWebView. I used to do it with loadHTMLString(), but unfortunatly there seems to be no way to enable back/forward swipe gestures using loadHTMLString(). Writing to the file works just fine, but I can't seem to load the edited file. I keep getting the original.… Show more
There is a reload method on the wkwebview, which might be a worst case option. It strikes me that you have a caching issue though. I don't see a really good option in the WKWebsiteDataStore. The NSURLRequest method has some caching options, but I'm not positive it works with file url's. I haven't done much with local files in a while.