Posted By

yasirmturk on 09/09/11


Tagged

sleep iphone lock iPad


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

yasirmturk
Tintenklecks
dvel


Prevent Sleep mode and Auto-Lock iPhone SDK


 / Published in: Objective C
 

URL: http://yasirmturk.com/blog

  1. UIApplication *thisApp = [UIApplication sharedApplication];
  2. thisApp.idleTimerDisabled = YES;

Report this snippet  

You need to login to post a comment.