码迷,mamicode.com
首页 > Web开发 > 详细

Xcode7 HTTP请求问题

时间:2015-09-20 20:43:16      阅读:158      评论:0      收藏:0      [点我收藏+]

标签:

问题:

“Application 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文件添加

<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>

技术分享

Xcode7 HTTP请求问题

标签:

原文地址:http://www.cnblogs.com/Eazy/p/4824093.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!