修改App Transport Security policy requires the use of a secure connection问题
来源:互联网 发布:日本电影知乎 编辑:程序博客网 时间:2024/04/30 12:41
iOS9引入了新特性App Transport Security (ATS)。
新特性要求App内访问的网络必须使用HTTPS协议。
但是很多地方还是HTTP协议,使用私有加密方式保证数据安全。现在也不能马上改成HTTPS协议传输。
所以会出现HTTP不能正常使用的问题,若不做任何处理,会打印“The resource could not be loaded because the App Transport Security policy requires the use of a secure connection” 错误信息。
解决方法:
或者直接在Info.plist中修改即可,在Info.plist中添加App Transport Security Settings字典,然后设置Allow Arbitrary Loads为YES
0 0
- 修改App Transport Security policy requires the use of a secure connection问题
- 问题人生[20160112] the 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
- PAT 福尔摩斯的约会
- Myeclispe10把一个带pom的普通工程转化为一个MAVEN工程
- BZOJ 3224 Tyvj 1728 普通平衡树
- 安卓源代码修改之framework下面长按power键,修改安卓原生的关机、重启界面,并让界面背景变成模糊(三)
- Android ListView中子控件的状态保存以及点击子控件改变子控件状态
- 修改App Transport Security policy requires the use of a secure connection问题
- Android最佳性能实践(一)——合理管理内存
- 生命源于宇宙 (directly from outside)
- Html CSS一-些常用命名
- javascript设计模式--简单工厂模式
- 微信公众号申请+新浪SAE申请
- 在oracle下如何创建database link全面总结
- JQuery添加节点的几种方法
- 单片机PWM调制技术