Tuesday, October 21, 2008

Idle Timer

If you're making a game, please, please, please remember to turn off the idle timer. The Force Unleashed, a big-budget game loosely modeled after the console game of the same name, is a moderately fun, very polished game, but the screen constantly dims during the game in cutscenes and other places where you're not touching the screen for a while.

C'mon, folks: it's one line of code. Use it.


[UIApplication sharedApplication].isIdleTimerDisabled = YES;

No comments:

Post a Comment