On application launch i am loading https://www.google.com in WKWebView. App has one button, on click of that button app is loading local html page from document directory. i used following code to load html page.
let destPath = NSSearchPathForDirectoriesInDomains(.documentDirectory,
.userDomainMask,
true)[0]
let fileName = "Demo.html"
let fullDestPath = URL(fileURLWithPath: destPath)
.appendingPathComponent(fileName)
self.webView! .loadFileURL(fullDestPath, allowingReadAccessTo: fullDestPath)
The code was working till iOS 12.1.4 however in iOS 12.2 it is not loading html page and throwing error
ProvisionalPageProxy::didFailProvisionalLoadForFrame: pageID = 1, frameID = 1, navigationID = 2