On iPad iOS 6.0, how can you make it so that the screen does go to sleep, or somehow disables the graphics to preserve screen life, but the iPad does not lock, and it’s not necessary to press the button. Instead, when the screen is touched, the iPad wakes up completely and the program is restored and continues running on the screen.
I understand that the touch capability is not functioning when the iPad has truly gone to sleep, so is there an intermediary sleep mode where the screen shuts down all pixel brightnesses, but remains alert for any touch notifications?
You will need to prevent the “real” locking mechanism which can be done using the
setIdleTimerDisabled:method of yourUIApplicationinstance.Then you may reduce the screen brightness using the
setBrightness:method of the sharedUIScreeninstance.For “unlocking” the screen, do the reverse: