Hi! I’m trying to set up a launch screen image for my app. My goal is simple: I want my app icon to be displayed in the centre of the screen with a background colour. I do not want to use storyboards in my app.
I realise that this is a very simple and common task, but I am struggling to find proper documentation on it.
I am vaguely following the info.plist method from this page: https://developer.apple.com/documentation/xcode/specifying-your-apps-launch-screen/
I’m specifying my Image Name and Background Color. And everything plugs in and works except that the scale of the image is very unpredictable. I was hoping to make this work for all kinds of devices and screen sizes by simply using a transparent square image with my icon in the middle. I would have expected the image edges to be snapped to the screen borders and the image to be scaled uniformly to fit the screen. But no matter what resolution I try, 4k, 2k, 1k, the image gets scaled without any recognisable logic behind it.
Does anybody know what image size is expected and if there is any way of achieving my goal?