ios9 http请求不能使用
2016-01-18 18:14
609 查看
为了跟新新版本的ios9版本,使用http请求时会碰到无法加载数据的情况
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.
ios9默认是https请求,这时就需要更改系统的InfoPlist文件,修改为http请求
这里先写出来,省的以后用的时候还一次一次敲代码
NSAppTransportSecurity
NSAllowsArbitraryLoads
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.
ios9默认是https请求,这时就需要更改系统的InfoPlist文件,修改为http请求
这里先写出来,省的以后用的时候还一次一次敲代码
NSAppTransportSecurity
NSAllowsArbitraryLoads
相关文章推荐
- linux网络相关
- 关于Https安全性问题、双向验证防止中间人攻击问题
- AweSomePlayer http流读取过程
- Android volley 使用OkHttp3.0
- ANDROID开发之http调试常见错误
- 惠普打印机网络驱动安装方法
- Linux 开机时网络自动连接
- 发送带参数的get请求,并解决httpclient编码问题
- 崩溃的公司网络
- TCP/IP、Http、Socket的区别
- android上传图片到服务器(使用base64字节流的形式通过 AsyncHttpClient框架传输)
- XMLHttpRequest
- HttpServletResponse,HttpServletRequest详解
- http与https的写法
- 网络编程
- 开源安卓Http文件下载框架file-downloader的使用
- 一次搞懂 Assets Pipeline 转载自http://gogojimmy.net/2012/07/03/understand-assets-pipline/
- java解压缩文件的实现示例,支持rar和zip格式 ____http://my.oschina.net/manville/blog/280420
- HTTP Content-type 对照表
- angular js $http