Application Transport Security has blocked a clear

Xcode7 使用NSURLSession发送HTTP请求报错spa

由于须要https的支持code

修改添加 info.plist文件以下it

<key>NSAppTransportSecurity</key>
<dict>
    <key>NSAllowsArbitraryLoads</key>
    <true/>
</dict>
相关文章
相关标签/搜索