Posted By

dannolan on 09/27/10


Tagged


Versions (?)

Who likes this?

9 people have marked this snippet as a favorite

umang_nine
bobbym245
sb
bucko
FumarMata
Tintenklecks
gospaz
AndreyZarembo
cnathan


Stopping the iPhone from locking the display


 / Published in: Objective C
 

  1. //To re-enable display locking, just set the timer disabled to no.
  2. UIApplication *thisApp = [UIApplication sharedApplication];
  3. thisApp.idleTimerDisabled = YES;

Report this snippet  

You need to login to post a comment.