I have to download a very large file on the iPad. (iOS5, iOS6)
To keep the iPad screen from going in to sleep I use:
[UIApplication sharedApplication].idleTimerDisabled = YES;
But it doesn't work.
Can someone help me?
I have to download a very large file on the iPad. (iOS5, iOS6)
To keep the iPad screen from going in to sleep I use:
[UIApplication sharedApplication].idleTimerDisabled = YES;
But it doesn't work.
Can someone help me?
Try doing:
[UIApplication sharedApplication].idleTimerDisabled = NO;
[UIApplication sharedApplication].idleTimerDisabled = YES;