为了跟新新版本的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   Boolean 类型改为YES

最新文章

  1. 浅谈Angular的 $q, defer, promise
  2. iOS导航控制器常用函数与navigationBar常用属性
  3. CodeBlocks配置文件位置
  4. SPL--spl_autoload_register
  5. 对typesafe enum模式的改进
  6. 问题-安装XP时,提示不识别SATA硬盘
  7. Nginx 之三:nginx服务器模块、web请求处理机制及事件驱动模型、进程功能和进程间通信
  8. Directx11学习笔记【十】 画一个简单的三角形
  9. Net 项目构建基于Jenkins + Github + Mono 的持续集成环境
  10. ContentResolver + SqliteOpenHelper + ContentProvider 理解
  11. Github朝花夕拾
  12. 阿里云oss缩略图如何产生读取 超简单 不看后悔(转)
  13. unity中获取七天的日期
  14. salesforce lightning零基础学习(十) Aura Js 浅谈三: $A、Action、Util篇
  15. the security of smart contract- 2
  16. opencv学习笔记(三)
  17. Oracle系统表外键的更名
  18. C++11 中值得关注的几大变化(详解)
  19. iOS应用内支付(IAP)的那些坑
  20. Maven实战(十)利用 Nexus 来构建企业级 Maven 仓库

热门文章

  1. [linux] Nginx编译安装错误error: the HTTP rewrite module requires the PCRE library
  2. eclipse导入github项目
  3. Spring MVC中使用 Swagger2 构建Restful API
  4. C++编程命名规则(转载)
  5. (C#) 求两个数组的交集
  6. linux gcc头文件搜索路径
  7. CSS布局概述
  8. IOS启动页设置适应ios8/9
  9. 货币单位类RmbUnit
  10. windows Server 2008 IE增强的安全配置关闭方法