In my application I have xib launch screen. It has background image displayed in UIImage. Before iPhone X I had images of one size - it easily scaled to all iPhone screen sizes from 4.0 up to 5.5 without problems due to the same aspect ratio.
For iPhone X I created image with different size and aspect ratio. Now how should I specify what image to use as background exactly on iPhone X? I don't see any way to do it with traits and "launch screens may not set custom class names" where I could conditionally switch image. Just resizing original image is not an option since it breaks proportions.