Hi,
I have some issues with positioning and toolbars on iOS build. I was wondering if anyone had similar problems and is there any proven set of settings and tweaks that make that work?
1) on iOS device (other than iPhone X) a white gap is added on top, to accommodate for a built in toolbar. That is almost fine, but... this does not work when for example a form is being edited, and the view is moved up.
The content will cover the built in toolbar, and that should not happen.
iphone8.pngiphone8_2.png
What is even worse, the main viewport does not respect this offset, and as a result a bottom part is cut off. (Its like the height is adjusted without taking into account the gap for toolbar)
Is this something that should be addressed on Cordova or ExtJS level?
2) iPhone X (and other models with notch) - the white gap is added and it does not play well with iPhone X, as it has its own offset?
The gap is not needed and it creates the same main viewport "cut off" issue as above.
iphonex.jpg
These problems render the apps totally useless.
I have used the following settings so far:
For index.html
Code:
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover">
For cordova config.xml
Code:
<preference name="DisallowOverscroll" value="true" />
<preference name="EnableViewportScale" value="false" />
There is also a pretty good post about these type of issues here:
https://stackoverflow.com/questions/...ne-x-simulator
Thanks for any tips 
Maciej