I have one place in my app where screen should not get dimmed even if user does not touch things for a while.
I am turning this on in -viewDidAppear: and off in -viewWillDisappear: plus in -applicationWillTerminate: of application delegate. This is what I have in the delegate:
What about other places? If my application goes to the background, is system handling this or I need to turn this off in -applicationDidEnterBackground: or -applicationWillResignActive:? Any other places?
I am turning this on in -viewDidAppear: and off in -viewWillDisappear: plus in -applicationWillTerminate: of application delegate. This is what I have in the delegate:
Code:
if (app.isIdleTimerDisabled)
app.idleTimerDisabled = NO;
What about other places? If my application goes to the background, is system handling this or I need to turn this off in -applicationDidEnterBackground: or -applicationWillResignActive:? Any other places?