https://developer.apple.com/videos/wwdc/2015/?id=711 @ 5:55
我似乎无法将此添加到我的info.plist.它没有价值.我正在运行XCode 7.0版beta(7A121l),并在iOS9上进行测试.
因为我无法明确声明视频中所见的URL,所以我不断获得"App Transport Security已阻止明文HTTP(http://)资源加载,因为它不安全.临时例外可以通过你的应用程序配置Info.plist文件"错误.
但是,我似乎无法配置它.有任何想法吗?
I am building a Cordova app that uses jQuery Ajax to upload images to our server. The uploads were working for a while on both Android and iOS, then after a while they suddenly stopped working on iOS. Now, after a few seconds of trying to access a website, the request fails and I get an error message, which isn't much help. The error is like the following:
readyState: 0
status: 0
statusText: "error"
Run Code Online (Sandbox Code Playgroud)
My code is:
$.ajax("http://testapi.com/api", {
data: …Run Code Online (Sandbox Code Playgroud)