Class "iphonex"   on MABS 7.1
Application Type

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


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.



Hello LCT,

Hope you're doing well.

That's an interesting point indeed.

Anyway, take a look at this component:

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.