Theoretically, it is not so difficult to implement support.
Now I can only give a theory about iPhone X.
The current version of the engine runs in full screen mode on iPhone X, and
According to the guidelines, the background image should fill the entire screen, but UI should be inside Safe area, right?
In fact, we can calculate the
origin and the
size of the
And we can calculate it in the
Design Resolution coordinate system.
So we can add
getIPhoneXSafeAreaSize() in addition to
getVisibleSize(). And if we use it to position UI, then everything will be fine.
Please correct me if I’m wrong.
Although this can be implemented, I do not think it is a good idea to add new features to the engine just because of one phone.