Prevent iPhone from Sleeping

The automatic sleep timer is one of the ways the iPhone saves power. If the screen isn’t touched for a certain amount of time, it dims the screen and eventually turns it off. Although you should leave the timer on, there are times when this is not what you want.

To disable the timer, set the idleTimerDisabled property to YES, like so

Thanks and Regards,
Neon Samuel

One thought on “Prevent iPhone from Sleeping

  1. Excellent post however , I was wanting to know if you could write a litte more on this topic? I’d be very thankful if you could elaborate a little bit more. Appreciate it!

Leave a Reply

Your email address will not be published. Required fields are marked *



*