IOS - CORS in WKWebView from local HTML file
问题 I am loading a local HTML page inside a WebView in an IOS application (using Xamarin but I don't think it changes anything) This local HTML page makes ajax requests to a remote server. Everything works fine if I use an UIWebView, but when I try to use a WKWebView instead it fails. It fails because of CORS, I tried with the following HTML source: <html> <body> <script src="http://code.jquery.com/jquery-2.1.4.min.js"></script> <h1>Test AJAX Requests</h1> <br /> <button type="button" onclick=