升级xcode7和ios9出现的上述问题
解决方案:
在info.plist最后添加
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
原因:
升级xcode7和ios9出现的上述问题
解决方案:
在info.plist最后添加
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
原因:
Info.plist
file that specifies the domains with which it needs secure communication. ATS prevents accidental
disclosure, provides secure default behavior, and is easy to adopt. You should adopt ATS as soon as possible, regardless of whether you’re creating a new app or updating an existing one.