The launch screen is displayed as a splash screen while your iOS app is launching. It’s an atomic user interface file that uses size classes to support different device resolutions. It contains basic UIKit views, such as UIImageView and UILabel objects, and uses Auto Layout constraints. If you create your iOS app from a template, Xcode adds a default launch screen file, called LaunchScreen.storyboard
, to your project.
Follow these guidelines when creating a launch screen file:
Use only UIKit classes.
Use a single root view that is a UIView or UIViewController object.
Don’t make any connections to your code (don’t add actions or outlets).
Don’t add UIWebView objects.
Don’t use any custom classes.
Don’t use runtime attributes.