iPhone XS MAX support?
-
Hello,
Today I’ve experienced an issue with iPhone XS Max.
I’ve noticed that the top toolbar goes under the iPhone’s status bar.
So, I’ve put this code in my app:
if (ons.platform.isIPhoneX()) { // Utility function // Add empty attribute to the <html> element document.documentElement.setAttribute('onsflag-iphonex-portrait', ''); }
But this will create a huge white bar at the top of the screen and pushes the whole ```
ons-pageis there a way to resolve this issue? Thanks in advance.