You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Dave Alden (JIRA)" <ji...@apache.org> on 2017/09/14 14:58:00 UTC
[jira] [Comment Edited] (CB-13273) Webview is sized incorrectly on
iPhone X (Simulator)
[ https://issues.apache.org/jira/browse/CB-13273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16166402#comment-16166402 ]
Dave Alden edited comment on CB-13273 at 9/14/17 2:57 PM:
----------------------------------------------------------
Setting
{code:html}viewport-fit=cover{code}
fixes the white bar issue with UIWebView, as outlined here [http://stephenradford.me/removing-the-white-bars-in-safari-on-iphone-x/]
was (Author: dpa99c):
Setting
{code:html}viewport-fit=cover{code}
> Webview is sized incorrectly on iPhone X (Simulator)
> ----------------------------------------------------
>
> Key: CB-13273
> URL: https://issues.apache.org/jira/browse/CB-13273
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-ios
> Affects Versions: cordova-ios 4.5.0
> Environment: Xcode 9.0 (9A235)
> Simulator 10.0 (SimulatorApp-829.6) - iPhone X
> Reporter: Dave Alden
> Assignee: Shazron Abdullah
> Labels: iPhoneX, ios11
> Attachments: Simulator Screen Shot - iPhone X - 2017-09-14 at 15.52.54.png, webview-test.zip
>
>
> New app with cordova-ios@4.5.0 (using default UIWebView) running on iPhone X Simulator does not size correctly, leaving white bars above and below the Webview frame.
> Adding cordova-plugin-wkwebview-engine so Cordova uses WKWebView, the Webview frame is sized correctly.
> Note: the sizing of UIWebView appears correct in the iPhone 8 and iPhone 8 Plus Simulators.
> Attached Cordova project illustrates the issue.
> See screenshots:
> !https://cdn.pbrd.co/images/GKeaEPg.png|height=640! !https://cdn.pbrd.co/images/GKeaWwK.png|height=640!
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org