1

Throwing

"The operation couldn’t be completed. (NSURLErrorDomain error -999.)"

error in WKNavigationDelegate method webView(_ webView: WKWebView, didFail navigation: WKNavigation!, withError error: Error)

each time when i try to load the html string.

SriMa
  • 197
  • 1
  • 1
  • 12
  • @EDUsta Yes there might be possible of another request is made before the previous request is completed. what is the solution for that. ? Hw to cancel the previous request in WKWebView. – SriMa Mar 20 '18 at 06:48
  • @EDUsta wanna to say this question already been asked. the link he given. – MRizwan33 Mar 20 '18 at 07:51
  • @MRizwan33 exactly, thanks. SriMa: That would be another question, which I suggest you to open up. (here's a link that might be useful: https://developer.apple.com/documentation/webkit/wkwebview/1414981-stoploading) – EDUsta Mar 20 '18 at 07:54
  • 1
    @EDUsta I tried stopLoading() before loading another page. Still I getting the same error. – SriMa Mar 20 '18 at 11:10

0 Answers0