iOS 网络https传输
不久前,苹果宣布请求要为https的安全连接
于是,老的程序就报错:
App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file.
客户端可以在Infolist中做修改,或者升级服务器
找到程序的infoList文件,选择open as -> source code 添加如下代码:就OK 了!
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。