xcode7以上UIWebView报错:The resource could not be loaded
来源:互联网 发布:nginx反向代理跨域 编辑:程序博客网 时间:2024/06/14 19:04
xcode7以上UIWebView报错:
The resource could not be loaded
because the app transport securitypolicy requires the use of a secure connection
解决方法:
方法1、把App内访问的网络协议由http修改为https。
方法2、在Info.plist中添加NSAppTransportSecurity
类型Dictionary
。
在NSAppTransportSecurity
下添加NSAllowsArbitraryLoads
类型Boolean
,值设为YES
0 0
- xcode7以上UIWebView报错:The resource could not be loaded
- Xcode7 网络请求报错:The resource could not be loaded be
- Xcode7 网络请求报错:The resource could not be loaded because
- Xcode7 beta 网络请求报错:The resource could not be loaded because the App Transport Security policy requir
- Xcode7 网络请求报错:The resource could not be loaded because the App Transport Security policy requir
- Xcode7 网络请求报错:The resource could not be loaded because the App Transport Security policy requir
- Xcode7 网络请求报错:The resource could not be loaded because the App Transport Security policy requir
- Xcode7 网络请求报错:The resource could not be loaded because the App Transport Security policy requir
- Xcode7 beta 网络请求报错:The resource could not be loaded because the App Transport Security policy requir
- Xcode7 网络请求报错:The resource could not be loaded because the App Transport Security policy requir
- Xcode7 beta 网络请求报错:The resource could not be loaded because the App Transport Security policy requir
- Xcode7 网络请求报错:The resource could not be loaded because the App Transport Security policy requir
- Xcode7 beta 网络请求报错:The resource could not be loaded because the App Transport Security policy requir
- Xcode7 网络请求报错:The resource could not be loaded because the App Transport Security policy requires th
- Xcode7 网络请求报错:The resource could not be loaded because the App Transport Security policy requir
- Xcode7 网络请求报错:The resource could not be loaded because the App Transport Security policy requir
- Xcode7 beta 网络请求报错:The resource could not be loaded because the App Transport Security policy requir
- Xcode7 网络请求报错:The resource could not be loaded because the App Transport Security policy requir
- 结构体/字符串之间的转换
- 如何检查 Android 应用的内存使用情况
- 图像处理中的傅立叶变换
- Javascript定义类(class)的三种方法
- android Handler/Looper 总结
- xcode7以上UIWebView报错:The resource could not be loaded
- IOS绘图
- C++设计模式[十]享元模式
- angularjs中的$watch,对对象进行监视
- java noi读取文件
- 剑指offer(六)
- 专业级的PHP IDE——Zend Studio正式发布v13[附下载]
- 开发插曲:注解的使用
- CSS3 border-radius属性