问题人生[20160112] the App Transport Security policy requires the use of a secure connection
来源:互联网 发布:sys types.h windows 编辑:程序博客网 时间:2024/05/17 08:43
错误信息:
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.
The resource could not be loaded because the App Transport Security policy requires the use of a secure connection
原因:
iOS9引入的新特性ATS(App Transport Security)要求App内访问的网络必须使用https协议,而目前我们使用的是http协议,所以无法连接服务器 。
解决方法:
设置info.plist文件
在顶层添加字典项:App Transport Security Settings,
同时在该项下添加子项:Allow Arbitrary Loads,并设置其值为YES
0 0
- 问题人生[20160112] the App Transport Security policy requires the use of a secure connection
- 修改App Transport Security policy requires the use of a secure connection问题
- iOS 网络访问安全问题解决方法App Transport Security policy requires the use of a secure connection
- ios网络请求报错:the App Transport Security policy requires the use of a secure connection
- “The resource could not be loaded because the App Transport Security policy requires the use of a se
- The resource could not be loaded because the App Transport Security policy requires the use of a sec
- The resource could not be loaded because the App Transport Security policy requires the use of a sec
- The resource could not be loaded because the App Transport Security policy requires the use of a sec
- The resource could not be loaded because the App Transport Security policy requires the use of a sec
- The resource could not be loaded because the App Transport Security policy requires the use of a sec
- The resource could not be loaded because the App Transport Security policy requires the use of a sec
- The resource could not be loaded because the App Transport Security policy requires the use of a sec
- The resource could not be loaded because the App Transport Security policy requires the use of a sec
- The resource could not be loaded because the App Transport Security policy requires the use of a sec
- The resource could not be loaded because the App Transport Security policy requires the use of a sec
- iOS9 出现 the resource could not be loaded because the app transport security policy requires the use
- -"The resource could not be loaded because the App Transport Security policy requires........
- AFNetworking 提示"The resource could not be loaded because the App Transport Security policy requires
- 使用GPUImage渲染图片教程
- CQRS(Command Query Responsibility Segration)
- AT&T ASM
- Objective-C Runtime 运行时之二:成员变量与属性
- js 基础知识
- 问题人生[20160112] the App Transport Security policy requires the use of a secure connection
- 常用正则表达式
- 解决引导页或者欢迎页在app刚打开时出现黑屏或者白屏现象,实现秒开效果
- 某某业务数据库RMAN备份实例记录
- iOS-Ios8 Xcode6 设置Launch Image 启动图片
- 设计模式笔记--中介者模式
- mysql悲观锁总结和实践
- php操作mysql
- CodeForces 471C MUH and House of Cards