cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Sawatzky (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CB-5265) Status Bar Plugin/Camera Plugin. Taking a photo or choosing a photo from library makes the status bar style back to black.
Date Wed, 27 Nov 2013 20:02:35 GMT

    [ https://issues.apache.org/jira/browse/CB-5265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13834085#comment-13834085
] 

Jeff Sawatzky edited comment on CB-5265 at 11/27/13 8:00 PM:
-------------------------------------------------------------

try choosing from the photo library. I noticed that taking a new photo was fine, choosing
an existing one from the library was the issue.

Also, make sure you are using a status bar style of UIStatusBarStyleBlackOpaque/UIStatusBarStyleLightContent
(which causes the text to be white).

I notice that when the photo chooser is first brought up that the status bar text remains
white until I drill into an event, where it then goes back to the default style (black text)
even after the photo chooser is dismissed.



was (Author: niltz):
try choosing from the photo library. I noticed that taking a new photo was fine, choosing
an existing one from the library was the issue.

> 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)

Mime
View raw message