Despite what is suggested in documentation UIScreen brightness is NEVER restored after app backgrounds

Originator:nicolas.bouilleaud
Number:rdar://19398273 Date Originated:2015-01-07
Status:Open Resolved:
Product:iOS SDK Product Version:8.2
Classification:Serious Bug Reproducible:Always
 
Summary:
If the user presses the home key to background my application after it has lowered the UIScreen brightness, it will NEVER be restored. The user is forced to manually reset the brightness.

Steps to Reproduce:
1. While foregrounded, programatically reduce the [[UIScreen mainScreen] brightness] to 0.1.
2. User presses the home button


Expected Results:
As suggested by documentation quoted below, the brightness should be restored so that the user can see the home screen.

"So if you change the value of this property, you do not need to record the previous value and restore it when your app moves to the background."


Actual Results:
The OS never restores the brightness to the system level. The user must manually restore the brightness - which may be quite challenging since the screen is essentially black at this point.


Version:
iOS 8.2b3

Notes:
This is a very serious bug for use for two reasons.

The first is that, by dimming the screen, we were able to save material battery drain by reducing the screen's backlight.

Second, it is VERY hard for the typical user to recover from this situation.

------

This is a duplicate of 17017247 (and 15363763), but the issue is still present as of iOS 8.1/8.2b

Configuration:
iPhone 6

Attachments:

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!