The launch screen is a user interface file that runs while your iOS app is launching. The launch screen file uses a subset of the UIKit views and will support multiple aspect ratios and multi-tasking modes. To create a launch screen file, edit the default launch screen file, called LaunchScreen.storyboard
, that Xcode adds to your project. If you have an older project, you can add a launch screen file and set the launch screen file for the target in the project editor. For how to design a launch screen, read Launch Screen in Human Interface Guidelines.
Alternatively, you can use an asset catalog for a launch image.
In the Project navigator (), click the Add button (+) in the filter bar and choose File from the pop-up menu (or choose File > New > File).
At the top of the sheet that appears, click iOS to display the templates for that platform.
Under User Interface, select Launch Screen, and click Next.
In the next sheet, choose a location and enter a filename.
Select the target that you want to add the file to.
Click Create.
In the General pane of the project editor, click the disclosure triangle next to App Icons and Launch Images.
From the Launch Screen File pop-up menu, choose a launch screen file.