gpt4 book ai didi

受密码保护的设备上的 iOS 后台唤醒

转载 作者:塔克拉玛干 更新时间:2023-11-02 10:30:42 27 4
gpt4 key购买 nike

在 Apple 文档中 Understanding When Your App Gets Launched into the Background

When password protection is enabled on the device, the system does not launch an app in the background before the user first unlocks the device.

每隔几分钟,某些应用会在后台唤醒,用户无法继续解锁 iPhone。

当受密码保护的设备不允许应用程序在后台启动时,区域监控应用程序如何在后台唤醒并执行其操作?

Apple doc 中写的那个是什么意思?

最佳答案

我认为您误解了文档。

In most cases, the system does not relaunch apps after they are force quit by the user. One exception is location apps, which in iOS 8 and later are relaunched after being force quit by the user. In other cases, though, the user must launch the app explicitly or reboot the device before the app can be launched automatically into the background by the system. When password protection is enabled on the device, the system does not launch an app in the background before the user first unlocks the device

所以这意味着如果用户强行退出您在受密码保护的 iPhone 上的应用:

  1. 如果这是定位服务=> 用户必须解锁手机才能执行后台操作

  2. 如果这不是定位服务=> 在执行后台操作之前,用户必须解锁启动应用一次

在任何情况下,一旦应用启动一次,后台操作就可以被触发。

关于受密码保护的设备上的 iOS 后台唤醒,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37935606/

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