Status bar view controller chain is broken

Originator:douglashill
Number:rdar://22575294 Date Originated:04-Sep-2015 11:56 AM
Status:Duplicate of 18526872 (Open) Resolved:
Product:iOS SDK Product Version:
Classification: Reproducible:
 
Summary:
When a view controller is not the status bar view controller, its presented view controllers can not become the status bar view controller. For example, when a popover presented a view controller full screen, the full screen view controller is not used to specify the status bar appearance.

Steps to Reproduce:
1. Open and run the attached sample project, which has three view controllers: Master, Little, and Big. Initially Master is the status bar view controller.
2. Tap anywhere to make Master present Little in a popover.
3. Tap Little to make it present Big full screen.

Expected Results:
The full screen view controller, Big, should specify the status bar appearance, so it should use dark text (UIStatusBarStyleDefault).

Actual Results:
Master is still being used for the status bar appearance, so it uses light text (UIStatusBarStyleLightContent).

Version:
iOS 9, Xcode 7.0 beta 6 (7A192o)

Notes:
Workaround:

The view controller in the popover can set its modalPresentationCapturesStatusBarAppearance to YES, then forward its presenting view controller’s status bar preferences.

Configuration:
Various iPhone and iPad simulators

Attachments:
'Status bar view controller chain is broken.zip' was successfully uploaded.

Comments

Seems to be fixed in iOS 10.

By douglashill at Aug. 18, 2016, 2:09 p.m. (reply...)

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!