[ https://issues.apache.org/jira/browse/CB-13273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16166057#comment-16166057 ]
Dave Alden commented on CB-13273: --------------------------------- They are a screenshots of the iPhone X Simulator when running a simple Cordova test app, which has a blue background for the whole page (i.e. <body>). The first image shows the app running with the default (UIWebView) - the white bars above and below the blue area indicating the Webview is not sized correctly to fill the screen. The second images show the same running running with WKWebView (using cordova-plugin-wkwebview-engine) and shows that the same issue is not present: no white bars, i.e. the Webview is correctly sized to fill the full screen area. Note: you have made it more difficult to see the issue by editing the description and forcing the images to display above/below rather than side-by-side > 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: 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-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org