For the custom splash screen image to be included in the settings file, what is the most optimal size to use for all devices (iOS and Android phones/tablets) since it only requires one image.
Thanks in advance.
For the custom splash screen image to be included in the settings file, what is the most optimal size to use for all devices (iOS and Android phones/tablets) since it only requires one image.
Thanks in advance.
2048x2048 should cover most screen sizes. 1024x1024 if you’re targeting mostly phones.
Rob
Thanks for the prompt reply.
Do you still need the launch images if you’re using the custom splash screen? I guess I’m confused if the custom splash screen replaces launch images.
Should I remove this?
[lua]
UILaunchImages = {
{ – iPhone 4 Portrait
[“UILaunchImageMinimumOSVersion”] = “7.0”,
[“UILaunchImageName”] = “Default”,
[“UILaunchImageOrientation”] = “Portrait”,
[“UILaunchImageSize”] = “{320, 480}”
},
{ – iPhone 5 Portrait
[“UILaunchImageMinimumOSVersion”] = “7.0”,
[“UILaunchImageName”] = “Default-568h”,
[“UILaunchImageOrientation”] = “Portrait”,
[“UILaunchImageSize”] = “{320, 568}”
},
{ – iPhone 6 Portrait
[“UILaunchImageMinimumOSVersion”] = “8.0”,
[“UILaunchImageName”] = “Default-667h”,
[“UILaunchImageOrientation”] = “Portrait”,
[“UILaunchImageSize”] = “{375, 667}”
},
{ – iPhone 6 Plus Portrait
[“UILaunchImageMinimumOSVersion”] = “8.0”,
[“UILaunchImageName”] = “Default-736h”,
[“UILaunchImageOrientation”] = “Portrait”,
[“UILaunchImageSize”] = “{414, 736}”
},
},[/lua]
For Apple’s iOS devices, the startup sequence is like this:
Show either a static UILaunchImage or a Storyboard launch image controlled by iOS
Corona starts and shows the Corona splash screen (Corona in control)
Shows the first frame of your app (Corona in control)
For Android:
Corona starts and shows the Corona splash screen (Corona in control)
Shows the first frame of your app (Corona in control)
As you can see, Apple is going to show something before Corona can. We can’t show the splash screen until we are in control. Apple is now enforcing you to at least have the required static images (Default-568h@2x.png, 640x1136 portrait) or use the storyboard method.
You can remove the UILaunchImage table if you’ve provided the necessary Storyboard based files. See:
https://docs.coronalabs.com/guide/distribution/launchFile/index.html
Rob
2048x2048 should cover most screen sizes. 1024x1024 if you’re targeting mostly phones.
Rob
Thanks for the prompt reply.
Do you still need the launch images if you’re using the custom splash screen? I guess I’m confused if the custom splash screen replaces launch images.
Should I remove this?
[lua]
UILaunchImages = {
{ – iPhone 4 Portrait
[“UILaunchImageMinimumOSVersion”] = “7.0”,
[“UILaunchImageName”] = “Default”,
[“UILaunchImageOrientation”] = “Portrait”,
[“UILaunchImageSize”] = “{320, 480}”
},
{ – iPhone 5 Portrait
[“UILaunchImageMinimumOSVersion”] = “7.0”,
[“UILaunchImageName”] = “Default-568h”,
[“UILaunchImageOrientation”] = “Portrait”,
[“UILaunchImageSize”] = “{320, 568}”
},
{ – iPhone 6 Portrait
[“UILaunchImageMinimumOSVersion”] = “8.0”,
[“UILaunchImageName”] = “Default-667h”,
[“UILaunchImageOrientation”] = “Portrait”,
[“UILaunchImageSize”] = “{375, 667}”
},
{ – iPhone 6 Plus Portrait
[“UILaunchImageMinimumOSVersion”] = “8.0”,
[“UILaunchImageName”] = “Default-736h”,
[“UILaunchImageOrientation”] = “Portrait”,
[“UILaunchImageSize”] = “{414, 736}”
},
},[/lua]
For Apple’s iOS devices, the startup sequence is like this:
Show either a static UILaunchImage or a Storyboard launch image controlled by iOS
Corona starts and shows the Corona splash screen (Corona in control)
Shows the first frame of your app (Corona in control)
For Android:
Corona starts and shows the Corona splash screen (Corona in control)
Shows the first frame of your app (Corona in control)
As you can see, Apple is going to show something before Corona can. We can’t show the splash screen until we are in control. Apple is now enforcing you to at least have the required static images (Default-568h@2x.png, 640x1136 portrait) or use the storyboard method.
You can remove the UILaunchImage table if you’ve provided the necessary Storyboard based files. See:
https://docs.coronalabs.com/guide/distribution/launchFile/index.html
Rob