[英]GET method(afnetworking) was cancel on iOS10
I tested GET method by using AFNetworking on Charles(Web Debugging tool), however, the connection was canceled immediately. 我通过在Charles(Web调试工具)上使用AFNetworking测试了GET方法,但是该连接立即被取消。
I tried to get local json ini file by using "Map remote" and "Map local" tool of Charles at the same time. 我尝试同时使用Charles的“地图远程”和“地图本地”工具来获取本地json ini文件。
I doubted ATS(App Transport Security), but I don't know how to clear the problem... 我怀疑ATS(应用程序传输安全性),但我不知道如何解决此问题...
Is there way to clear this problem ? 有办法解决这个问题吗?
I tested it on Xcode8.1 and iOS10.0.1. 我在Xcode8.1和iOS10.0.1上进行了测试。
thank you 谢谢
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.