Posts

Post not yet marked as solved
4 Replies
Let me be more clear. I have an image set for background of a UIView which occupies around 80% of the screen. Let's take example of 3x scale factor for iPhone devices (I am using idiom "iphone" in image set's contents.json). The image is created for highest resolution 1242x2688 for iPhone XS Max. The image is having a logo in the center. When the app is opened in iPhone X which is also of 3x scale factor and having resolution 1125x2436 that is lower than iPhone XS Max, the image is not centered perfectly and the logo is touching the right edge of the screen. So, I just want to if there's any specific json key like 'subtype' for differentiating between iPhone X and iPhone XS Max so that I can use two different images in same image set? Or Do I need to use different imageset each for iPhone X and iPhone XS Max?
Post not yet marked as solved
4 Replies
I didn't get. Why we need same image for 1x, 2x and 3x? My question is about an image for 2x but for different resolutions.