开发者

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

开发者 https://www.devze.com 2022-12-23 06:54 出处:网络
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 als

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!


Rebooting the 3G iPhone will fix the issue. I am not sure if Apple is working on a fix for this currently.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号