Keeping iOS from going to sleep
Posted: Sun Jan 15, 2012 9:50 pm
I'm writing an app that displays useful location-based information to the user continuously.
At the moment, after a certain interval, the iOS device goes to sleep.
I'd like the iOS device to remain awake while my app is running.
What is the best approach?
The only suggestion I've read so far is to play a sound every few minutes. Perhaps the sound file could contain silence. (As I write this, I'm thinking about the case where a user is playing music in the background. I wouldn't want to impact the music playback. I'll have to test this a bit.)
Are there any other approaches I should consider?
At the moment, after a certain interval, the iOS device goes to sleep.
I'd like the iOS device to remain awake while my app is running.
What is the best approach?
The only suggestion I've read so far is to play a sound every few minutes. Perhaps the sound file could contain silence. (As I write this, I'm thinking about the case where a user is playing music in the background. I wouldn't want to impact the music playback. I'll have to test this a bit.)
Are there any other approaches I should consider?