I'm creating an iOS app who will have to stop the standby timer.
I mean the timer who put the device in standby after 60 seconds that a user does not touch the screen.
How can I do it?
Thanks
Try to set UIApplication
's idleTimerDisabled
property to YES
.
[UIApplication sharedApplication].idleTimerDisabled = YES;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With