iOS监视器在后台的用户位置。 [英] iOS monitor user location in background.
问题描述
我在这里阅读了许多文章,可以在应用程序处于后台时获取位置更新。
I have read a number of posts here that it is possible to get location updates while the application is in the background.
我的问题是,我可以在多大程度上在后台执行计算,我将像处理其他任何代码一样处理它,即仅仅是方法调用等。
My question is what to what extent can I do computing in the background and would I handle it as I would any other code, i.e. just a method call, etc.
非常感谢。
推荐答案
Apple文档非常清楚您的应用程序可以在后台执行的操作。在后台运行应用程序时,您无法做任何想做的事情-只有几件事可以做(例如,播放音频,跟踪用户位置等)。
The Apple documentation is pretty clear about what your app can do while in the background. You cannot do whatever you want while your app is in the background -- there are only a few things you can do (i.e. play audio, track a users location, etc).
查看背景执行和多任务处理。
这篇关于iOS监视器在后台的用户位置。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!