标签:
一、配置info.plist
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
以上代码添加在info.plist文件倒数第三行处 (右击info.plist -> Open As ->Source Code),如下图:
标签:
原文地址:http://www.cnblogs.com/xsphehe/p/5777788.html