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

ASF GitHub Bot commented on CB-6318:
------------------------------------

Github user shazron commented on the pull request:

    
https://github.com/apache/cordova-plugin-statusbar/pull/3#issuecomment-38316149
  
    Hi @lmnbeyond, another breakage.
    
    1. Create a new project (3.4.0)
    2. Install the statusbar plugin with your code
    3. Leave the preference in config.xml unchanged:
    <preference name="StatusBarOverlaysWebView" value="true" />
    4. In the Project Settings-> General -> Deployment Info -> Devices, select 
"iPad"
    5. In the Project Settings-> General -> Deployment Info -> Device 
Orientation, select everything
    6. Run the project in the iPad Retina Simulator
    7. Cmd-Arrow to rotate the device
    
    You can see that the centered Cordova icon is to the bottom right, which 
suggests the viewport size is too big. You can attach the Safari Web Inspector, 
and inspect the dimensions -- and indeed it is so:
    ```
    $ document.documentElement.clientWidth
    1472
    $ document.documentElement.clientHeight
    1332
    ```
    
    Expected width, height is { 768, 1024 }.



> 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: iOS, Plugin Statusbar
>            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.2#6252)

Reply via email to