loadRequest加载出错解决方案
2016-08-23 19:20
639 查看
网络请求报错:The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.
在NSAppTransportSecurity下添加NSAllowsArbitraryLoads类型Boolean,值设为YES
解决方案:
在Info.plist中添加NSAppTransportSecurity类型Dictionary。在NSAppTransportSecurity下添加NSAllowsArbitraryLoads类型Boolean,值设为YES
相关文章推荐
- 整合Struts+Spring+hibernate的时加载出错终极解决方案
- eclipse加载现有专案出错解决方案
- XmlDocument.Load()加载xml文件时,提示分析 EntityName 时出错的问题。
- vs 2015 "加载该页时出错。" 解决方案
- 图片懒加载解决方案 lazyload.js
- 系统启动时加载模块出错的解决方案
- linux环境_rpy2加载R包出错_‘unable to load shared object ’
- 关于VS2010 rcxdti.dll is unable to load rcxdtiui.dll加载失败问题的解决方案
- 执行存储过程时报“在尝试加载程序集 ID 65645 时 Microsoft .NET Framework 出错”,解决方案
- lamp环境下php链接数据库出错之一直加载空白页解决方案
- 重装VS 2008出现的加载安装组件出错的终极解决方案
- insert into select 批量加载出错解决方案
- QTP提示加载数据表文件时出错的解决方案
- UIWebView无法用loadRequest加载页面 错误提示:App Transport Security has blocked a cleartext HTTP ...
- UG二次开发加载dll,ufusr出错,Failed to load image
- System.IO.FileLoadException: 未能加载文件或程序集 访问拒绝 解决方案之一
- WebGL自学课程(7):WebGL加载跨域纹理出错Cross-origin image load denied by Cross-Origin Resource Sharing policy.
- hibernate的load方式加载lazy属性的pojo出错
- Android固件加载出错(load failed with error -2)
- layui的流加载,点击切换流加载内容,需要多次flow.load,page混乱解决方案