For the iOS9, Apple made a radical decision with iOS 9, disabling all unsecured HTTP traffic from iOS apps, as a part of App Transport Security (ATS).
To simply disable ATS, you can follow this steps by open Info.plist, and add the following lines:
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
苹果在iOS9中引入了App Transport Security(ATS),强制应用程序使用安全的HTTPS连接。若需禁用ATS以允许HTTP流量,可通过修改Info.plist文件并添加特定配置实现。
1115

被折叠的 条评论
为什么被折叠?



