[年久失修笔记]20151105 xcode工程配置
在iOS9 中,苹果将原http协议改成了https协议,使用 TLS1.2 SSL加密请求数据。
解决方法:
在info.plist 加入key
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
ß
评论
匿名评论
隐私政策
你无需删除空行,直接评论以获取最佳展示效果