Question

I am developing a application to test whether the iphone screen is OFF or ON and i tried the code of accelerometer that specified in stack overflow it working well for screen on status but when i turn off the screen the accelerometer is not deactivating.

So i am getting doubt about the fact that did really accelerometer get deactivate automatically when the screen turns off. If anybody having clear idea about it please share it.

Thanks

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top