Launch Screens in iOS 11 with Xcode 9

Hi all,

I just solved the missing icon problem thanks to this thread (https://forums.coronalabs.com/topic/70293-ios-11-problem/) but am now having problems getting my launch screens to show up using Xcode 9 and the latest daily build. 

I grabbed a copy of the launch screen storyboard from one of the sample apps but when I try to edit it in Xcode, I don’t see the assets folder anymore and am unsure how to insert my launch screens. Any help would be most appreciated!

Also, do any of the sample apps have launch screens?

Note: The Corona Docs describing the launch screen process are outdated now with the new version of Xcode.

Thanks!

Hi @jeff15,

Thanks for the report. I’ll look into this and update the guide. Just need to wait 4 hours while the 5-10 GB Xcode 9 update completes. :slight_smile:

Brent

Any further ideas for how to address this issue? I can’t figure out in Xcode 9 where you are supposed to insert the launch images when editing the storyboard. The interface in Xcode 8 was different and had an obvious xassets folder. This seems to have disappeared in version 9.

Hi @jeff15,

I don’t see how Xcode 9 changed anything. I just tested and went through the entire guide… the “Assets.xcassets” folder is still there, I can drop in my three images, and export the file as outlined.

Did you use the template as a starting point? You can’t just open an existing “LaunchScreen.storyboardc” file in Xcode and modify it… you need to begin with the template provided for download in the beginning of the guide.

Brent

Thanks Brent, as usual, you are correct! I was trying with a version from one of the sample apps but couldn’t see a way to add the launch screen. The template from the guide worked. Out of curiosity, is there not a way to add an image easily by using one of the other examples?

I’ve just tried creating a launch screen from the template file. I’ve already done it a few times in the recent past to several apps of mine. But today all I get is a black screen for the launch image on my iPhone on iOS 11.

If I run the same app on the iOS simulator for the same iPhone model, the launch screen actually shows! The difference today is that I have Xcode 9 installed.

Hi guys,

Something changed with Xcode 9 (as usual) and the launch screen template. I’m looking into a solution… once ready, I’ll update the guide. Please just be patient while I work out what changed and why.

Brent

Another related question I have is what people are using for launch screen sizes. I design my apps for universal deployment so that each background is big enough to add a bleed on each side (for iPads) or on the top and bottom for phones. My standard three sizes are 450x713, 900x1425, and 1800x2850. This has worked well for me but when I make the 3 launch screens the same size to use with the Launchscreen Storyboard, it causes a black border to appear either on the sizes (phones) or top and bottom (ipad). I’m assuming this is because the images are shown in their entirety with no letter boxing.

So, I was wondering if there is a way to add 3 launch screens that will look the same as the backgrounds on both phones and ipads?

What size launch screens do others use?

Solved my launch screen letterbox issue above. There is a rather hidden constraint box that lets you change the setting from “aspect fit” to “aspect fill”, which is what I wanted. Looks great in the simulator but I’m also not seeing the launch screens on my phone now.

Launch screen works now for me with the latest build on my iPhone. Hmm, wasn’t working with the build from few days ago.

Hi @jeff15,

Thanks for the report. I’ll look into this and update the guide. Just need to wait 4 hours while the 5-10 GB Xcode 9 update completes. :slight_smile:

Brent

Any further ideas for how to address this issue? I can’t figure out in Xcode 9 where you are supposed to insert the launch images when editing the storyboard. The interface in Xcode 8 was different and had an obvious xassets folder. This seems to have disappeared in version 9.

Hi @jeff15,

I don’t see how Xcode 9 changed anything. I just tested and went through the entire guide… the “Assets.xcassets” folder is still there, I can drop in my three images, and export the file as outlined.

Did you use the template as a starting point? You can’t just open an existing “LaunchScreen.storyboardc” file in Xcode and modify it… you need to begin with the template provided for download in the beginning of the guide.

Brent

Thanks Brent, as usual, you are correct! I was trying with a version from one of the sample apps but couldn’t see a way to add the launch screen. The template from the guide worked. Out of curiosity, is there not a way to add an image easily by using one of the other examples?

I’ve just tried creating a launch screen from the template file. I’ve already done it a few times in the recent past to several apps of mine. But today all I get is a black screen for the launch image on my iPhone on iOS 11.

If I run the same app on the iOS simulator for the same iPhone model, the launch screen actually shows! The difference today is that I have Xcode 9 installed.

Hi guys,

Something changed with Xcode 9 (as usual) and the launch screen template. I’m looking into a solution… once ready, I’ll update the guide. Please just be patient while I work out what changed and why.

Brent

Another related question I have is what people are using for launch screen sizes. I design my apps for universal deployment so that each background is big enough to add a bleed on each side (for iPads) or on the top and bottom for phones. My standard three sizes are 450x713, 900x1425, and 1800x2850. This has worked well for me but when I make the 3 launch screens the same size to use with the Launchscreen Storyboard, it causes a black border to appear either on the sizes (phones) or top and bottom (ipad). I’m assuming this is because the images are shown in their entirety with no letter boxing.

So, I was wondering if there is a way to add 3 launch screens that will look the same as the backgrounds on both phones and ipads?

What size launch screens do others use?

Solved my launch screen letterbox issue above. There is a rather hidden constraint box that lets you change the setting from “aspect fit” to “aspect fill”, which is what I wanted. Looks great in the simulator but I’m also not seeing the launch screens on my phone now.

Launch screen works now for me with the latest build on my iPhone. Hmm, wasn’t working with the build from few days ago.