Maybe somebody could give me a reality check on this as my head is starting to hurt!
There are now 4 'Families' of iOS screen aspect ratios:
iPhone 4/4x at 1:1.5
All the iPads at 1:1.333
iPhone X at 1:2.165
The rest at 1:1.777 (16:9)
I am creating portrait & landscape .jpg assets for each family to fill the full screen width and remaining height below the Navigation Bar. In all devices the Navigation bar is a constant 48 logical points high.
So... in the case of the iPhone X in portrait orientation:
Screen pixels are 1125 wide x 2436 high. Rendered at 3x gives...
a logical resolution (points) of 375 x 812
Deducting 48pts from the height for Navigation Bar = 375 x (812-48) = 375 x 764 points.
Convert back to pixels (x3) = 1125 x 2292 pixels size for the jpg asset.
Of course only one portrait/landscape asset for each 'Family' sized at the largest member of that family then scaled using ImageView MODE_FILL.
Did I get that right ?
There are now 4 'Families' of iOS screen aspect ratios:
iPhone 4/4x at 1:1.5
All the iPads at 1:1.333
iPhone X at 1:2.165
The rest at 1:1.777 (16:9)
I am creating portrait & landscape .jpg assets for each family to fill the full screen width and remaining height below the Navigation Bar. In all devices the Navigation bar is a constant 48 logical points high.
So... in the case of the iPhone X in portrait orientation:
Screen pixels are 1125 wide x 2436 high. Rendered at 3x gives...
a logical resolution (points) of 375 x 812
Deducting 48pts from the height for Navigation Bar = 375 x (812-48) = 375 x 764 points.
Convert back to pixels (x3) = 1125 x 2292 pixels size for the jpg asset.
Of course only one portrait/landscape asset for each 'Family' sized at the largest member of that family then scaled using ImageView MODE_FILL.
Did I get that right ?