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

编辑 info.plist,加入如下设置:

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

</plist> 


App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Te_第1张图片



你可能感兴趣的:(Security,ios开发,NS)