[ https://issues.apache.org/jira/browse/CB-13792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
jcesarmobile closed CB-13792. ----------------------------- Resolution: Invalid This is not really a bug in the plugin, it's the iOS 11 behaviour, it has safe areas and you have to disable them by adding viewport-fit=cover in your viewport meta tag. When you do that the plugin will work as expected > 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