如果你出现
App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file.
就需要修改info.plist
文本编辑,或xcode open as source code
在节点内加入
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
本文提供了解决iOS应用中遇到的安全警告的方法,并指导如何在Info.plist文件中配置NSAppTransportSecurity来暂时允许不安全的HTTP加载。
1135

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



