Xcode 7中http通信出现如下错误:Application 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.
摘要:
原因 在iOS9 beta1中,苹果将原http协议改成了https协议,使用 TLS1.2 SSL加密请求数据。 解决方法 编辑 info.plist,加入如下设置: <plist> <dict> .... <key>NSAppTransportSecurity</key> <dict> <key 阅读全文
posted @ 2016-11-25 10:45 偏左 阅读(120) 评论(0) 推荐(0)