I am building application using swift 2 targeting minimal iOS 8.
I need to present my application all the time without interrupted by device lock.
I am aware and currently using UIApplication.sharedApplication().idleTimerDisabled = true
to disable device locking.
The question is, is it possible (and how ?) to prevent device lock, but allow the screen to be dimmed (light off) ?
The goal is to save a bit more battery by turning off lcd light (without turning it off or lock device).
Thank you.