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

jcesarmobile commented on CB-6318:
----------------------------------

It looks to me that you just need to set the StatusBarOverlaysWebView to true

Add this line to your config.xml and your html header will "blend into the 
background" when the NavigationController is hidden.

{code}
<preference name="StatusBarOverlaysWebView" value="true" />
{code}

But sadly, the current version of the statusbar plugin is not considering that 
it might be running on a CDVViewController that is inside a 
NavigationController, so if I embed CDVViewController inside a 
NavigationController I don't get the same result as your "navigationbar.png" 
screenshot.

Anyway, as you are using a NavigationController, that is not standard on 
cordova projects, I think you should manage that kind of things yourself with a 
NavigationController plugin



> Statusbar can't blend into the background when embedding CDVViewController in 
> a NavigationController
> ----------------------------------------------------------------------------------------------------
>
>                 Key: CB-6318
>                 URL: https://issues.apache.org/jira/browse/CB-6318
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Statusbar
>         Environment: iOS
>            Reporter: glmnbeyond
>         Attachments: compare.png, expected.png, navigationbar.png, result.png
>
>
> Please refer to the attached screenshots.
> -navigationbar.png indicates that CDVViewController is embedded in a 
> NavigationController, and the navigation bar is visible.
> -result.png indicates that when navigation bar is hiding, the status bar 
> can't blend into the background.
> -expected.png is expected result.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to