How to aviod Application going to sleep in iphone

HI if you doing the camera related app,video and navigation based  app  where you want to avoid app going to sleep here is simple solution.

  [[UIApplication sharedApplication] setIdleTimerDisabled:YES];

0 comments:

Post a Comment