右击plist 通过sourcecode打开
在一级目录添加如下代码
<key>NSAppTransportSecurity</key>
<dict>
<!--Include to allow all connections (DANGER)-->
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
本文介绍如何在plist文件中配置NSAppTransportSecurity以允许任意加载。通过在一级目录下添加特定代码实现网络请求的安全策略调整。
右击plist 通过sourcecode打开
在一级目录添加如下代码
<key>NSAppTransportSecurity</key>
<dict>
<!--Include to allow all connections (DANGER)-->
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
435
1353

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