Add the appropriate “Tag” based on what Expo library you have a question on.
Hi
Ive building an app using Expo, and plan to make my app available on iOS and Android platforms.
I have made my landscape only by modifiying the json. I have a question regarding the splash image. As my app is landscape only, what size is recommended for the splash.png image I should create?
I guess similar recommendations as if it were portrait just swapping the width and height.
If it’s a centred icon a square image where width and height match the widest phones and splash.resizeMode is contain is most likely best.
If you want to use cover instead set the height at a large enough amount to deal with the widest phones. And width large enough for the tallest phones.
The iOS Human Interface Guidelines list the static launch image sizes. I’ll go with 1242 pixels wide and 2436 pixels tall – this is the width of the iPhone 8 Plus (the widest iPhone) and the height of the iPhone X (the tallest iPhone)
From the expo splash screen docs the above is noted. So just swap the width and height as recommended there.
you do not need to, no. but if you can provide a reproducible example of a project where this happens (source code, with minimal extra code associated) then please do. i don’t know what is happening in the case of your app