<分区>
虽然我关注了App Transport Security Technote和 Configuring App Transport Security Exceptions in iOS 9 and OSX 10.11我仍然在 iOS 9 中收到此错误 错误:应用程序传输安全已阻止明文 http 资源加载,因为它不安全
<分区>
虽然我关注了App Transport Security Technote和 Configuring App Transport Security Exceptions in iOS 9 and OSX 10.11我仍然在 iOS 9 中收到此错误 错误:应用程序传输安全已阻止明文 http 资源加载,因为它不安全
最佳答案
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
将这段代码粘贴到plist中
关于ios - 应用程序传输安全已阻止明文 http 资源加载,因为它不安全,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32865439/
相关文章:
ios - 是否可以在 UITableView 中有主标题、副标题和 UITableViewStyleValue1 样式标题
iphone - 在 Swift 中使用 shouldPerformSegueWithIdentifier( ) 方法
swift - guard 语句中的多个 let 是否与单个 let 相同?
ios - 来自 NSData 的 NSString 为 nil
ios - 在注释标注内有一个 UITableViewcontroller
iphone - 如何显示一条 iPhone 消息(警报?),看起来就像切换静音模式时显示的消息一样
iphone - @property (nonatomic, assign) id <IconDownloaderDelegate> 委托(delegate);