I have a navigation app that uses core motion to receive CMDeviceMotion updates. How can I continue to receive and process these updates if the phone has been put to sleep or is running in the background?

有帮助吗?

解决方案

It looks like this automatically works by virtue of having the location update background mode turned on.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top