0 votes
164 views
asked in Objective C by (4k points)
HI All

   How to avoid the iphone go into sleep mode programmatically?

1 Answer

0 votes
answered by (8.2k points)

Hi Kalpana

  Try this 

       [[UIApplication sharedApplication] setIdleTimerDisabled:YES];

Categories

...