gpt4 book ai didi

ios - Apple 会拒绝 Plist 中 Key UIApplicationExitsOnSuspend 设置为 YES 的应用吗

转载 作者:行者123 更新时间:2023-11-29 11:49:46 25 4
gpt4 key购买 nike

我有来自 Apple 文档的查询。

我将在我的应用程序的 plist 中将 key UIApplicationExitsOnSuspend 添加到 YES

Apple 会因为这个 key 而拒绝我的应用吗?

或者有什么更好的方法可以在应用程序在后台移动时将其终止?

最佳答案

不会,不会被拒绝

UIApplicationExitsOnSuspend

Apps linked against iOS SDK 4.0 or later can include this key and set its value to YES to prevent being automatically opted-in to background execution and app suspension. When the value of this key is YES, the app is terminated and purged from memory instead of moved to the background. If this key is not present, or is set to NO, the app moves to the background as usual.

关于ios - Apple 会拒绝 Plist 中 Key UIApplicationExitsOnSuspend 设置为 YES 的应用吗,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41632755/

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