I bypass -999 error by adding the following code in didFail navigation
public func webView(_ webView: WKWebView, didFail navigation: WKNavigation!, withError error: Error) {
if (error as NSError).code == -999 {
return
}
print(error)
}
Post
Replies
Boosts
Views
Activity
I resolve this issue by finding uses of UIWebView in my project.
run following command in terminal
grep -r UIWebView .
This command will highlight the path to files that contain the UIWebView.
(note: point your project folder in Terminal)