Apple watchOS 2 battery meter

I am thinking about making an app watchOS2

that uses an accelerometer. If the app is running in the background, will it still be able to accept input from the accelerometer or CMMotionManager

?

+3


source to share


1 answer


You can only get real accelerometer data if watchOS2 app is running. However, you can access historical accelerometer data, that is, accelerometer data while your app was in the background.



Watch this WWDC talk for more information: What's New in Core Motion

+2


source







All Articles