gpt4 book ai didi

ios - 在 iOS 9 中设置 NSAllowsArbitraryLoads - Apple 会拒绝该应用程序吗?

转载 作者:IT王子 更新时间:2023-10-29 08:19:27 25 4
gpt4 key购买 nike

<分区>

我在 iOS 9 上突然收到一条消息:

The resource could not be loaded because the App Transport Security policy requires the use of a secure connection

Searched有点,发现将 NSAllowsArbitraryLoads 设置为 YES 可以解决这个问题,这实际上是有效的。
但是我也发现 Apple may reject the App为了这。尽管在 App Transport Security Technote 中说明

NSAllowsArbitraryLoads

A Boolean value used to disable App Transport Security for any domains not listed in the NSExceptionDomains dictionary. Listed domains use the settings specified for that domain.

但由于这是目前唯一有效的解决方案,而且 Apple 可能会也可能不会拒绝该应用程序,因此只想在发布前确认。

更新:Apple 通过了审核,我的应用现在可以使用此设置:)

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