How to create a launch screen in XCode

Oscar de la Hera Gomez
A flower that represents Xcode with the text "Create Splash Screen" beneath it.

A step by step guide on creating splash screens with multiple images for iOS, MacOS, TVOS or WatchOS apps using XCode.

Before continuing we strongly recommend reading our best practices guide on creating launch (splash) screens.

Step One: Set the Storyboard

A screenshot of Xcode showing the project settings window. The general tab has been selected as has the only target within the app. Under the "App Icons and Launch Screen" section, we have highlighted the "Launch Screen File" which has been set to "LaunchScreen.storyboard."

In the Project Settings, select the app target and make sure that the Launch Screen File has been set to LaunchScreen.storyboard or the relevant storyboard file.

Step Two: Add the Images

A screenshot of XCode showing the LaunchScreen.storyboard file. Two image views have been added to the view, with each having a different image.

Follow the tutorials below to learn how to add image view components with images to the launch screen storyboard.

Make sure that you add the images as local files instead of xcassets. This will aid previewing updates without having to restart the device.

Step Three: Constrain the Images


<p>A screenshot of Xcode showing the launch screen storyboard. We have highlighted all the constraints on the storyboard inspector. The view controller on the screen shows how the "background" now touches all the edges of the view, and not the safe area insets.</p>
<p></p>

Follow the tutorials below to learn how to constrain the image views. Make sure that you constrain the background image view to the edges of the view, and not the safe area.

Step Four: Run

A screenshot of XCode showing that we have set a breakpoint on line 14 of the AppDelegate.swift file. We have highlighted the play button that appears on the top left of XCode. Click this button to run the app on a device. As we have set the breakpoint on line 14, the app will stop at the Splash screen, allowing you to analyze it.

Run the app on the device.

We recommend setting a breakpoint in the AppDelegate of the app so that the app stops at the launch screen, allowing you to confirm that the changes went through.

Frequently Asked Questions (FAQ)

I updated the Launch Screen but it's not showing on my device, what do I do ?

Delete the app and restart your device. Then in XCode, clean the project and reinstall the app.

My launch screen is black on my device, even though XCode shows something else

It sounds like your images are too big. Try:

  • Reducing the image file sizes to less than 0.5MB for each image.
  • If you are not already, use local files instead of xcassets.
  • Delete the app and restart your device. Then in XCode, clean the project and reinstall the app.

Any Questions?

We are actively looking for feedback on how to improve this resource. Please send us a note to inquiries@delasign.com with any thoughts or feedback you may have.
delasign logo

Book a Free Consultation.

An icon of an email.

Click here to email us.

Fill in the details below to book a free consultation or to let us know about something else. Whatever it is, we are here to help.

How can we help you ?

Contact Details