gpt4 book ai didi

ios - ATS 域异常(exception)的通配符?

转载 作者:行者123 更新时间:2023-12-01 17:47:22 27 4
gpt4 key购买 nike

在我的生产 Xamarin 应用程序中,我们检索不同域中 HLS 播放列表的未定义列表。
是否可以在 ATS 异常字典中使用通配符?
我尝试了类似的方法,但没有成功:

<key>http://*.domain.com</key>
<dict>
<key>NSExceptionAllowsInsecureHTTPLoads</key>
<true/>
<key>NSIncludesSubdomains</key>
<true/>
</dict>

最佳答案

试试这个 :

<key>NSAppTransportSecurity</key>
<dict>
<key>NSExceptionDomains</key>
<dict>
<key>domain.com</key>
<dict>
<key>NSExceptionRequiresForwardSecrecy</key>
<false/>
<key>NSExceptionAllowsInsecureHTTPLoads</key>
<true/>
<key>NSIncludesSubdomains</key>
<true/>
</dict>
</dict>
</dict>

关于ios - ATS 域异常(exception)的通配符?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45878620/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com