You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Anders Borg (JIRA)" <ji...@apache.org> on 2018/01/19 00:04:00 UTC
[jira] [Commented] (CB-13792) Settings in config.xml seem to have
no effect
[ https://issues.apache.org/jira/browse/CB-13792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16331463#comment-16331463 ]
Anders Borg commented on CB-13792:
----------------------------------
Sorry, but that explanation has nothing to do with my question.
> Settings in config.xml seem to have no effect
> ---------------------------------------------
>
> Key: CB-13792
> URL: https://issues.apache.org/jira/browse/CB-13792
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-plugin-statusbar
> Affects Versions: cordova-ios 4.5.0
> Environment: cli-7.1.0 with iOS 4.5.4
> cordova-plugin-statusbar 2.4.1
> Building with PhoneGap Build
>
> Reporter: Anders Borg
> Priority: Minor
> Labels: cordova-plugin-statusbar, ios
>
> These settings seem to do nothing at all on iOS:
> <preference name="StatusBarOverlaysWebView" value="false" />
> <preference name="StatusBarBackgroundColor" value="#ffffff" />
> <preference name="StatusBarStyle" value="default" />
> (the status bar still overlays the app window and colors are not changed)
> I need to do this to get the intended effect:
> StatusBar.overlaysWebView(false);
> StatusBar.backgroundColorByHexString("#ffffff");
> StatusBar.styleDefault();
> This behavior is not obvious to me from reading the documentation.
> As there's a workaround with dynamic settings, it's not a showstopper, but the drawback is that the dynamic setting is not done until Cordova is ready, so there's some "jerkiness" to the UX.
> Cheers,
> Anders
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org