App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure.解决办法

 

或者在这个对应的Source Code中添加

 

<key>NSAppTransportSecurity</key>

<dict>

<key>NSExceptionDomains</key>

<dict>

<key>baidu.com</key>

<dict>

<key>NSExceptionAllowInsecureHTTPLoads</key>

<true/>

<key>NSIncludesSubdomains</key>

<true/>

<key>NSExceptionRequiresForwardSecrecy</key>

<false/>

</dict>

</dict>

<key>NSAllowsArbitraryLoads</key>

<true/>

</dict>

 

posted @ 2015-12-23 17:51  Z了个L  阅读(141)  评论(0编辑  收藏  举报