The code below will prevent the iPhone from dimming its screen and ultimately going to sleep. Use it wisely as you don’t want your application becoming notorious for being a battery hog
[UIApplication sharedApplication].idleTimerDisabled = YES;
Happy iCoding!
-
http://www.appstoremod.com AppStoreMod
-
http://brandontreb.com Brandon
-
http://clickedapps.com Brian
-
http://idea.wirus.com Jozero
-
http://smallte.ch Santiago Lema
-
http://idea.wirus.com Jozero
-
http://genericwpthemes.com WP Themes
Workout of the Day