iOS9 beta 请求出现App Transport Security has blocked a cleartext HTTP (http://)
2015-06-26 16:25
585 查看
错误描述:
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.
在iOS9 beta中,苹果将原http协议改成了https协议,使用 TLS1.2 SSL加密请求数据。
解决方法:
在info.plist 加入key
参考资料:
https://developer.apple.com/library/prerelease/ios/releasenotes/General/WhatsNewIniOS/Articles/iOS9.html#//apple_ref/doc/uid/TP40016198-DontLinkElementID_13
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.
在iOS9 beta中,苹果将原http协议改成了https协议,使用 TLS1.2 SSL加密请求数据。
解决方法:
在info.plist 加入key
<key>NSAppTransportSecurity</key> <dict> <key>NSAllowsArbitraryLoads</key> <true/> </dict>
参考资料:
https://developer.apple.com/library/prerelease/ios/releasenotes/General/WhatsNewIniOS/Articles/iOS9.html#//apple_ref/doc/uid/TP40016198-DontLinkElementID_13
相关文章推荐
- 构建简易网络与网络设备的简单配置(Cisco Packet Tracer)第三弹:动态路由协议配置
- http://www.cnblogs.com/wenjingu/archive/2012/07/10/2584616.html
- 走进Linux02-网络配置
- CocoaHTTPServer-master
- CentOS6.6上编译安装httpd2.4
- HTTP协议详解(转)
- 网络图片查看器
- https实现
- java多线程<二>TCP/IP实现简单的多客户端聊天
- http://selectorgadget.com/
- 网络游戏外挂核心封包揭密
- NetImageTest获取网络中的图片资源
- iOS-检测监听网络状态(WIFI、2G/3G/4G)
- 【HTTP】Fiddler(二) - 使用Fiddler做抓包分析
- [管理篇]VMWare搭建Openstack——将FlatDHCP网络转化为GRE网络——实例化网络
- Apache Http Server与Tomcat实现负载均衡和集群
- Weblogic集群HTTP会话复制失败故障诊断
- git http/https方式储存密码
- 网络数据包发送工具PacketSender中文源码
- TCP/IP协议族-----21、文件传送:FTP和TFTP