How could I make sure that iPhone doesn't disable the screen or go to sleep for about 20 to 30 minutes?
views:
171answers:
1
+2
A:
Check this link: http://stackoverflow.com/questions/493495/keep-iphone-active-while-running-program
In short:
[UIApplication sharedApplication].idleTimerDisabled = YES;
Philippe Leybaert
2009-07-18 20:02:04