Posted by Seree.
Jul
15
Posted by Seree.
Prevent your iPhone app from entering into Sleep/Standby mode
I’m not quite sure why it’s so easy than I ever think of. But it is!
[[UIApplication sharedApplication] setIdleTimerDisabled:YES];
It just disables the Idle Timer of iPhone OS for my application.
Sweet!
There are 2 comments to this post.
Seree had this to say,
Dec 31, 2009 @ 1:10 pm
Hi erwin,
You can enter it in the application’s delegate.
Thanks!
Add Your Comment.
where should i enter it? thanks.