Xcode7-“App Transport Security has blocked a cleartext HTTP (http://) resource load since it is inse

原创 2016年08月29日 10:51:57

1.在Info.plist中添加 NSAppTransportSecurity 类型 Dictionary ;

2.在 NSAppTransportSecurity 下添加 NSAllowsArbitraryLoads 类型Boolean ,值设为 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
  • 4071

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:/...
  • iverain
  • iverain
  • 2017年01月12日 11:05
  • 1846

芒果iOS开发之App Transport Security has blocked a cleartext HTTP (http://) resource load since it is inse

App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Te...
  • CrazyZhang1990
  • CrazyZhang1990
  • 2015年12月22日 23:22
  • 1593

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

App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Te...
  • itianyi
  • itianyi
  • 2015年11月20日 09:59
  • 5922

Xcode 7 App Transport Security has blocked a cleartext HTTP 报错解决办法

Xcode 7 创建新项目用到 UIWebView 发送请求时,报下面的错: “App Transport Security has blocked a cleartext HTTP (http:/...
  • elisa1988
  • elisa1988
  • 2015年08月03日 18:54
  • 4422

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
  • 1241

AFNetworking3.xPost请求- “请求对象无法序列化”处理及:App Transport Security has blocked a cleartext HTTP (http://)

问题: 使用AFNetworking 时请求后提示:App Transport Security has blocked a cleartext HTTP (http://) resource loa...
  • Boyqicheng
  • Boyqicheng
  • 2016年05月12日 11:28
  • 624

AppleWatch真机调试问题:App Transport Security has blocked a cleartext HTTP(http://)resource load since...

今天在进行AppleWatch开发过程中,在进行网络请求时,会报如下错误,网络请求失败:App Transport Security has blocked a cleartext HTTP(http...
  • CHENYUFENG1991
  • CHENYUFENG1991
  • 2015年10月11日 08:45
  • 2059

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...
  • yj229201093
  • yj229201093
  • 2016年08月19日 14:34
  • 456

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

苹果将原http协议改成了https协议,使用 TLS1.2 SSL加密请求数据。按下图添加:...
  • u013025098
  • u013025098
  • 2016年03月01日 15:54
  • 428
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:Xcode7-“App Transport Security has blocked a cleartext HTTP (http://) resource load since it is inse
举报原因:
原因补充:

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