title: iOS: Detect if the device is iPhone X family (frameless)
body: <p>In my app there is some logic for frameless devices (iPhoneX, Xs Xs max, Xr). Currently it works base on the model of the devices, so, I detect the model by DeviceKit framework. </p>
  
  <p>But I want to extend this logic to future frameless devices. Probably in one year we will have some extra frameless devices. So, how can I detect if device is frameless or not? It should cover all current frameless devices and future one.</p>
  
  <p>We can not rely on faceID, safeAreaInset, screen height or size. So, then what?</p>