摘要: 原因:iOS9以后,苹果把原http协议改成了https协议,所以不能直接在http协议下GET/POST 解决方案之一: 直接编辑工程文件下的Info.plist文件,加入以下代码 <key>NSAppTransportSecurity</key> <dict> <key>NSAllowsArbi
阅读全文
[cnblogs镜像]AFNetworking 提示"The resource could not be loaded because the App Transport Security
最新推荐文章于 2024-01-18 08:39:29 发布
本文解决iOS9之后因苹果将默认协议从http改为https导致的问题。通过在Info.plist中添加NSAppTransportSecurity字典来允许非https请求。
2959

被折叠的 条评论
为什么被折叠?



