Re: Setting brightness and applicationWillResignActive

2014-06-23 Thread David Duncan
On Jun 22, 2014, at 8:50 PM, Jim Geist velocity...@rodentia.net wrote: My iOS application needs to keep the device active by disabling the idle timer, but dims the display to conserve battery since it will be running for long periods. This works fine, but I want to make sure to restore the

Setting brightness and applicationWillResignActive

2014-06-22 Thread Jim Geist
My iOS application needs to keep the device active by disabling the idle timer, but dims the display to conserve battery since it will be running for long periods. This works fine, but I want to make sure to restore the user’s settings if the app is switched away from. The code sets [UIScreen