I recently started developing iPhone apps in Objective-C and put together a small universal video player which allows me to view TV shows, movies and the like on my iPhone. Everything is working flawlessly except one minor thing.
The display always turns off after a minute or two and turns black if I don't tap the screen within that time span.
I'm wondering whether it's possible to programmatically keep the display on while my app is open. I've already tried setting idleTimerDisabled to true, without success, though.
My device is jailbroken if it makes a difference and I'm also open for solutions that would work on jailbroken devices only (if there are any solutions for this scenario).