Extensions don't respect the preferred status bar style

Originator:mail
Number:rdar://18165183 Date Originated:28-Aug-2014 09:29 PM
Status:Open Resolved:
Product:iOS 8 Product Version:Beta 6
Classification:UI/Usability Reproducible:
 
Summary:
When developing an Action extension, there is no way to control the status bar style when the extension is displayed fullscreen (NSExtensionActionWantsFullScreenPresentation).

Steps to Reproduce:
Please see attached demo xcode project and follow these steps:

1. Run the 'Test App' target. 
2. Click the button
3. Select the 'TestExtention' Action Extension
4. The extension with a dark background is presented, but the status bar is black

Expected Results:
When the extension has a dark background, I expect to have control over the status bar style. This can be done like it's implemented for applications:

- Set the preferred status bar style in the info.plist
- Use view controller based status bar appearance 

Actual Results:
The extension has a black status bar, instead of the white color I specified in - [ActionViewController preferredStatusBarStyle]. There is no way to set the status bar style in the info.plist 

Since it's an extension, it's also not possible to call:
[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];
because UIApplication cannot be used for extensions. 

Version:
iOS8 & xCode6 beta 6

Notes:


Configuration:
iPhone Simulator

Attachments:
'TestApp.zip' was successfully uploaded.

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!