[
https://issues.apache.org/jira/browse/CB-5265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13833946#comment-13833946
]
Jeff Sawatzky commented on CB-5265:
-----------------------------------
This seems to happen when <key>UIViewControllerBasedStatusBarAppearance</key>
is set to <false/>
A work around for me was to set it to <true/> (or remove the key since true is
the default) and then in MainViewController.m add:
{code}
- (UIStatusBarStyle)preferredStatusBarStyle
{
return UIStatusBarStyleLightContent; //change this to your preferred style
}
{code}
> Status Bar Plugin/Camera Plugin. Taking a photo or choosing a photo from
> library makes the status bar style back to black.
> --------------------------------------------------------------------------------------------------------------------------
>
> Key: CB-5265
> URL: https://issues.apache.org/jira/browse/CB-5265
> Project: Apache Cordova
> Issue Type: Bug
> Affects Versions: 3.1.0
> Environment: iOS 7
> Reporter: Daniel Morgan
> Labels: camera, ios7, statusbar
>
> We're using a black status bar and the StatusBarStyleLightContent to simulate
> the pre-iOS 7 status bar with the status bar plugin. When a user takes a
> photo or choose from library the status bar style goes back to black; making
> a black status bar with black text. My quick fix is to add in CDVCamera
> under navigationController:willShowViewController:animated to set the status
> bar style back to white: [[UIApplication sharedApplication]
> setStatusBarStyle:UIStatusBarStyleLightContent];, but of course this only
> works for me since I want the status bar style to be white everywhere in my
> application.
--
This message was sent by Atlassian JIRA
(v6.1#6144)