cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shayne Trosdahl (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-13130) Can't change statusbar color on ios 11 beta
Date Wed, 16 Aug 2017 17:05:00 GMT

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

Shayne Trosdahl commented on CB-13130:
--------------------------------------

Have you tried either of these methods? I have successfully used both running iOS 11. Setting
the colors doesn't work unless you have overlaysWebView set to false. 

{code:javascript}
    StatusBar.overlaysWebView(false);
    StatusBar.backgroundColorByHexString("#EA454D") 
{code}

or set in config.xml

{code:xml}
<platform name="ios">
    <preference name="StatusBarOverlaysWebView" value="false" />
    <preference name="backgroundColorByHexString" value="#EA454D" />
</platform>
{code}

> Can't change statusbar color on ios 11 beta
> -------------------------------------------
>
>                 Key: CB-13130
>                 URL: https://issues.apache.org/jira/browse/CB-13130
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-statusbar
>         Environment: ios 11 beta
>            Reporter: hagai sela
>              Labels: ios11
>
> When calling StatusBar.backgroundColorByHexString("#EA454D") the statusbar color remains
white and doesn't change to red. This works for older ios versions.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message