[ https://issues.apache.org/jira/browse/CB-13273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jan Piotrowski (Sujan) updated CB-13273: ---------------------------------------- Description: 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! was: 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! > 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