UIDocumentInteractionController presented view controller status bar style

Number:rdar://32767467 Date Originated:6/14/2017
Status:Open Resolved:
Product:iOS+SDK UIKit Product Version:iOS 10.3
Classification:Bug Reproducible:Always

When opening a preview of a document (e.g. a PDF) using UIDocumentInteractionController the status bar style of the modal view controller presented should match the style (appearance) of the rest of the app. In this demo project while the status bar is set to .lightContent the view controller presented by the UIDocumentInteractionController has a status bar style of .default.

Example project available at: https://github.com/saeros/radar-UIDIC

Steps to Reproduce:
Present a preview of a document (e.g. PDF) using UIDocumentInteractionController in an app configured to use per view controller status bar appearance definition with styling using appearance proxy.

Expected Results:
The status bar appearance (style) should match with the presenter or app defined appearance.

Observed Results:
The status bar style is always the default (i.e. black).

Xcode 8.3 (iOS 10)
Xcode 9 (iOS 11)

The only solution I've found that works is by setting the UIViewControllerBasedStatusBarAppearance property to false in the Info.plist. But doing so we lose the ability to set the status bar style per view controller.




Apple Developer Relations / June 22 2017, 9:34 AM

Engineering has determined that your bug report is a duplicate of another issue and will be closed.

The open or closed status of the original report your bug was duplicated to appears in a text box within the bug detail section of the bug reporter user interface. For security and privacy reasons, we don't provide access to the original bug yours was duped to.

If you have any questions or concerns, please update your report directly at this link: https://bugreport.apple.com/.

By yonic.surny at March 6, 2018, 8:28 a.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!