[
https://issues.apache.org/jira/browse/CB-11599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15383935#comment-15383935
]
jcesarmobile commented on CB-11599:
-----------------------------------
Ah, sorry, that is how it used to work on iOS 7 and earlier, the style affected
the whole statusbar, not only the text.
I've just tested and this three set the text to white (the last 2 are
deprecated and use styleLightContent where the original values aren't available
{code}
StatusBar.styleLightContent();
StatusBar.styleBlackTranslucent();
StatusBar.styleBlackOpaque();
{code}
This one set the text to black
{code}
StatusBar.styleDefault();
{code}
> StatusBar Plugin Method styleLightContent Not Working
> -----------------------------------------------------
>
> Key: CB-11599
> URL: https://issues.apache.org/jira/browse/CB-11599
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Statusbar
> Environment: MobileFirst 7.1 + IOS 9.3.2
> Reporter: michael faith
>
> My project is using MobileFirst 7.1, which has an older version of Cordova
> included (3.6 iirc), but I'm using the latest version of the plugin (2.1.3).
> I'm having trouble with the StatusBar.styleLightContent method taking effect.
> I've created a deviceready function, which makes the following calls:
> StatusBar.overlaysWebView(false);
> StatusBar.backgroundColorByHexString("#0d66a4");
> StatusBar.styleLightContent();
> The first two calls are successful, but the lightcontent setting isn't being
> applied, when I install on an IPhone with iOS 9.3.2.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]