For example I have a game with a menu screen and then I have the game itself. I want the timer disabled whilst playing the game but enabled when in the menu screen. I currently have the following code in my app delegate that disables the timer:
application.idleTimerDisabled = YES;
Any help would be appreciated.