Chinaunix首页 | 论坛 | 博客
  • 博客访问: 127084
  • 博文数量: 24
  • 博客积分: 825
  • 博客等级: 准尉
  • 技术积分: 280
  • 用 户 组: 普通用户
  • 注册时间: 2004-11-02 09:09
个人简介

打不死的蟑螂

文章分类

全部博文(24)

文章存档

2017年(1)

2016年(2)

2014年(1)

2013年(3)

2012年(1)

2011年(1)

2010年(1)

2009年(1)

2008年(3)

2006年(1)

2005年(7)

2004年(2)

我的朋友

分类: iOS平台

2016-07-04 10:43:23

使用UIWebView 请求http URL出现以下结果:
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


解决方案:
在info.plist中添加

NSAppTransportSecurity
    NSAllowsArbitraryLoads
    
阅读(597) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~