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

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

Github user stevehanson commented on the issue:

    https://github.com/apache/cordova-plugin-statusbar/pull/87
  
    It was also still seeing a white bar at the bottom of the screen after 
adding the `viewport-fit=cover` meta tag and updating StatusBar to the latest 
from master. Switching from `WKWebView` to 
[`cordova-plugin-ionic-webview`](https://github.com/ionic-team/cordova-plugin-ionic-webview)
 fixed the issue for me:
    
    ```
    > ionic cordova plugin remove cordova-plugin-wkwebview-engine
    > ionic cordova plugin add cordova-plugin-ionic-webview --save
    ```
    
    I'm on `cordova-ios` 4.5.1.  I did end up with a strange padding on one 
page in my app (only in iOS), which I fixed with:
    
    ```scss
    margin-top: calc(0px - constant(safe-area-inset-top));
    ```


> Statusbar does not overlay correctly on iPhone X
> ------------------------------------------------
>
>                 Key: CB-13311
>                 URL: https://issues.apache.org/jira/browse/CB-13311
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-statusbar
>            Reporter: jcesarmobile
>            Assignee: jcesarmobile
>
> As statusbar plugin has the statusbar height hardcoded to 20 points, it 
> doesn't overlay correctly on the iPhone X simulator as it's statusbar height 
> is 44 points.
> This happens when the viewport has viewport-fit=cover



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to