bbb81 commented on issue #172:
URL:
https://github.com/apache/cordova-plugin-wkwebview-engine/issues/172#issuecomment-1214302176
> Curently I use a combination of viewport settings: `<meta name="viewport"
content="width=device-width, height=device-height, initial-scale=1,
maximum-scale=1, user-scalable=no, viewport-fit=cover">`
>
> with inline styl eon HTML page: ` <style type="text/css" rel="stylesheet">
html, body { margin: 0px; padding: 0px; width: 100%; height: 100vh; position:
relative; overflow: hidden; } </style>`
>
> All of my views have code to determine notch position and height and
adjust accordingly.
@maciej-zabielski Thank you for pointing that out! Saved me a bunch of time.
Fixes the issue on any iPhone (testet in iOS simulators even without notches).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]