虽然我在苹果的文档中阅读了基于VoIP的应用程序将在启动后自动启动,但没有提及使用GPS的应用程序。这应该意味着注册 GSP 的应用程序不会在设备启动时自动启动。
但是,在继续之前,我需要确保我的理解是正确的。任何帮助表示赞赏。
There is no concept of "auto start" in iOS neither the concept of "boot time" from the point of view of 3rd party apps. When the OS starts all applications that were open before the shutdown will be "opened" again and put in inactive state. VoIP and GPS applications can request something like 10s CPU in every 10 mins. These cycles will be restarted automatically after device boot if the application was running before shutdown. However this is not "autostart" behavior.
您可以使用 voip 等后台服务启动应用程序。您可以通过在 info.plist 文件上启用它来激活此服务。