iPhone keeps going into dim/sleep mode even with the proper API calls.

Posted by Kyle on Stack Overflow See other posts from Stack Overflow or by Kyle
Published on 2010-03-20T01:59:21Z Indexed on 2010/03/20 2:01 UTC
Read the original article Hit count: 206

I call:

[[ UIApplication sharedApplication ] setIdleTimerDisabled: YES ]

on the applicationDidFinishLaunching event.. I set a breakpoint on it, which fires so I know it's getting called.. I've also called this function in other places as well.. Basically, a 3G iPhone will still go into sleep mode, but my 3GS won't. Has anyone seen this behavior before? Both are running the latest OS versions.

Thanks for reading!

© Stack Overflow or respective owner

Related posts about iphone

Related posts about iphone-sdk