Gyroscope sensor values in background

I would like to build an application which will take gyroscope values in background. The problem is when i put the application in background for time being than the sensor stops taking the values. Please provide any specific way, so i could take user patterns for doing the specific task.

Thanks.

Unless your app requests backgrounding via one of the allowed schemes, vs. casual/arbitrary use, there isn't a way to make this happen.


See https://stackoverflow.com/questions/30162400/is-it-possible-to-obtain-gyroscope-data-updates-when-app-is-in-the-background

Gyroscope sensor values in background
 
 
Q