Class "iphonex"   on MABS 7.1
Application Type
Mobile

On MABS 6.3, when I inspect the app that I can see
<body class="phone portrait ios iphonex">

but

On MABS 7.1, the body tag doesn't has class iphonex

May anyone help me with this, I need to detect which iPhone has a notch and safe bottom.

Thanks!

mvp_badge
MVP

Hello LCT,

Hope you're doing well.

That's an interesting point indeed.


Anyway, take a look at this component: https://www.outsystems.com/forge/component-overview/5389/get-device-information


It returns a lot of information about the device, including the platform and the model.

Hope that this helps you!


Kind regards,

Rui Barradas

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.