Hi there,
I have been building an alarm clock ..but with a difference
I came across a similar problem when using:
[[ UIApplication sharedApplication ] setIdleTimerDisabled: YES ];
I read online that if you regularly reset the idleTimer by putting the following into a 30 second NSTimer, then it should work:
{
[[ UIApplication sharedApplication ] setIdleTimerDisabled: NO ];
[[ UIApplication sharedApplication ] setIdleTimerDisabled: YES ];
}
It does seem to have helped, but last night I received a Calendar Event Alert and this morning my iPhone had gone into Standby
Has anyone else come across this problem and knows of a fix?
Cheers