We have an application with 6-8 screens, which was developed by Swift 3.2. And I use class classes (Auto Resize) without using autorun for all devices that work fine.
But now we want to make it compatible with the iPhone X device.
While we are testing the application on the iPhone X, Subviews has a lot of problems on top, bottom and even the center of the screen.
I saw several forums that said, “Use the Adaptive Sage Guide” in the Story Board UI files, and the problem will be resolved. But, the Event I tried it, there are still many gaps and problems coming from the bottom and top when testing the application with iPhone X.
So, how to make it compatible with iPhone X with my existing code, do I need to change everything programmatically for below iPhone X and iPhone X,
or is there anything there?
Can anyone suggest me how to do this.
Note. We are using Xcode 9.2



source
share