错误:App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insec

原创 2015年11月20日 09:59:36

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

解决方法:

io9的时候因为强制使用了https协议,所以需要在info文件中添加如下字段:

NSAppTransportSecurity

NSAllowsArbitraryLoads 设置为YES。


版权声明:本文为博主原创文章,未经博主允许不得转载。

相关文章推荐

App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure.

解决方法: 1.使用https协议请求; 2.Info.plist中增加App Transport Security Settings子项Allow Arbitrary Loads设置为YES。
  • tujiaw
  • tujiaw
  • 2015-11-22 10:12
  • 3779

XCode7报 App Transport Security has blocked a cleartext HTTP (http://) resource load since it is inse

xcode7 报 App Transport Security has blocked a cleartext HTTP (http://) resource load since it is ins...

IOSApp Transport Security has blocked a cleartext HTTP (http://) resource load的解决办法

“App TransportSecurity has blocked a cleartext HTTP (http://) resource load since it isinsecure. Tem...
  • howlaa
  • howlaa
  • 2016-09-09 16:00
  • 1095

App Transport Security has blocked a cleartext HTTP(http://) resource load since it is insecure.

使用Xcode 7创建项目,向服务器发送请求时,无法连接服务器,错误信息如下: App Transport Security has blocked a cleartext HTTP(http:/...

Xcode更新之后提示App Transport Security has blocked a cleartext HTTP(http://)resource load since it is ...

Xcode7更新后提示App transport security has blocked a exceptions can be configured via your app's info.pli...

Xcode7报App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insec

关于Xcode7之后网络访问的权限

App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure

错误描述     App Transport Security has blocked a cleartext HTTP (http://) resource load since it is ...

“App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. T

Xcode7运行一下代码时// 确定要访问的资源--URL NSURL *url = [NSURL URLWithString:@"http://m.baidu.com"]; // 建立...

App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure 解决

做项目的时候经常会用到网络请求,因此AFNetworking这个插件可谓是非常好用,但是在升级之后,再用AFNetworking会报如下警告,表示不能对网络进行请求: App Transport Se...

错误:app Transport Security has blocked a cleartext HTTP......

在Xcode7中,苹果将 http 协议改成了 https 协议,使用 TLS1.2 SSL加密请求数据,因此在模拟器上运行程序时,要是程序还是使用的 http 协议就会报下图中的错误: ...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:深度学习:神经网络中的前向传播和反向传播算法推导
举报原因:
原因补充:

(最多只允许输入30个字)