Building Launch Screen

I’ve downloaded the master.zip from this page:

https://docs.coronalabs.com/guide/distribution/launchFile/index.html

I’ve created a trio of images for the 3 launch files and followed the instructions in the guide to the letter.

Of course, I must have missed something because I am definitely not seeing my launch image when I build to device.

I’ve put my launch images in the decompressed project folder as well as my application folder and exported the storyboard package to the root folder of my application folder.

The application is very small, as a test. Here’s the main.lua (the only code file):

local group = display.newGroup() group.x, group.y = display.actualContentWidth/2, display.actualContentHeight/2 display.newCircle( group, 0, 0, display.actualContentWidth/2 ).fill = {1,0,0} display.newRect( group, 0, 0, 50, display.actualContentWidth ) transition.to( group, { time=60000, rotation=6\*360 } )

Here’s the build.settings file:

settings = { orientation = { default = "portrait", supported = { "portrait" } }, iphone = { plist = { CFBundleIconFiles = {}, UILaunchStoryboardName = "LaunchScreen", }, }, }

What could I have missed? Is there a way to check over what I’ve built using XCode to verify the output?

If it helps, I’ve attached a zip of my test application “TestLaunch”.

You could create a new project in the sim and use the blank storyboard  from that?

Not sure what you mean…?

In sim choose file > new project > blank it will create a blank storyboard you can use in your project.

I personally use that and then pop my logo at the top of main.lua.

This way android and iOS behave the same.

So, once you’ve generated a new project with the sim, how do you add launch images to it?

I downloaded and ran your test app on my iPhone 6. Your launch image is working just fine. Keep in mind, this is an Apple iOS feature only. The Corona simulator will never show any Apple UI Launch image setup. This happens before the Corona Splash screen. It has no effect on Android or desktop builds.

The LaunchScreen.storyboardc file created with File->New Project creates a storyboard file that is a full screen black image and does not look for any of your imagery. It’s designed to be as simple as possible and transition to the Corona splash screen with minimal visual changes. This sort of makes iOS and Android a bit more of a level playing field with regards to startup imagery. That is both platforms will show a black/dark screen then the Corona splash screen then your app’s first frame.

If you want to show something more than a black screen you will have to follow the tutorial and make your own. Hint, the default that comes with the project just needs exported it is setup to automatically look for Launch.png, Launch@2x.png and Launch@3x.png. And sizes of 512x512, 1024x1024 and 2048x2048 are good defaults for a transparent or black background image.

Rob

You could create a new project in the sim and use the blank storyboard  from that?

Not sure what you mean…?

In sim choose file > new project > blank it will create a blank storyboard you can use in your project.

I personally use that and then pop my logo at the top of main.lua.

This way android and iOS behave the same.

So, once you’ve generated a new project with the sim, how do you add launch images to it?

I downloaded and ran your test app on my iPhone 6. Your launch image is working just fine. Keep in mind, this is an Apple iOS feature only. The Corona simulator will never show any Apple UI Launch image setup. This happens before the Corona Splash screen. It has no effect on Android or desktop builds.

The LaunchScreen.storyboardc file created with File->New Project creates a storyboard file that is a full screen black image and does not look for any of your imagery. It’s designed to be as simple as possible and transition to the Corona splash screen with minimal visual changes. This sort of makes iOS and Android a bit more of a level playing field with regards to startup imagery. That is both platforms will show a black/dark screen then the Corona splash screen then your app’s first frame.

If you want to show something more than a black screen you will have to follow the tutorial and make your own. Hint, the default that comes with the project just needs exported it is setup to automatically look for Launch.png, Launch@2x.png and Launch@3x.png. And sizes of 512x512, 1024x1024 and 2048x2048 are good defaults for a transparent or black background image.

Rob