How to detect iphoneX or higher?

hi
earlier we had an option to find the device is iphoneX. now that option is not available, how to detect the device is iphoneX or higher model

thank you.

Use CSS media queries

2 Likes

thank you, used javascript to find the device using the device screen width and height.