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

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