iOS中xcode7数据请求问题的解决

XCODE7关于错误的解决:

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.


在plist中粘贴代码:

<key>NSAppTransportSecurity</key>

    <dict>

       <key>NSAllowsArbitraryLoads</key>

       <true/>

    </dict>


你可能感兴趣的:(ios,Xcode7,http请求数据)