I am trying to get my app to not go idle (since it is an idle game) I have seen other app that prevents the screen from shutting down. There is a code line that you can put in Xcode that is supposed to fix this: [[UIApplication sharedApplication] setIdleTimerDisabled:YES];
I put this bellow applicationDidBecomeActive https://dl.dropboxusercontent.com/u/...ic/SetIdle.png
However this only activates if you leave the app and then go back to it. I also noticed this when trying to insert the old chartboost fix by SoftWarewolf that went into applicationDidBecomeActive. You had to start the app, then leave it and then go back to it for the events to activate.
Do anyone know why or another way to do this so the events actually trigger on start without having to leave and come back to the app?