Dear all,
I'm using WKWebView to connect a URL2. The webview will load a request which contains http header.
But I can't have it works. There is a message below came from Output window.
[Process] 0x1260c0218 - [pageProxyID=13, webPageID=14, PID=15418] WebPageProxy::didFailProvisionalLoadForFrame: frameID=3, domain=WebKitErrorDomain, code=102, isMainFrame=1
I've searched some relevant solutions to solve it.
I've added the privilege in Info.plist, like Allow Arbitrary Loads, Allow Arbitrary Loads in Web Content.
Also I've added my URL in exception domain.
But all of these solutions are still not able to work.
Do I miss any solution? Please help me out. Thank you in advance.
BTW, it works if the WKWebView connect to URL1. But the URL2 doesn't. The prefix is https, so it shouldn't have http problem.