[ https://issues.apache.org/jira/browse/CB-13792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16332232#comment-16332232 ]
Anders Borg commented on CB-13792: ---------------------------------- I checked whether there would be a difference if I put the settings in config.xml outside of a "<platform name="ios">", but it didn't. It seems the iOS plugin code simply ignores settings in config.xml, and only uses dynamic settings. > 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-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org