Daily coverage of WWDC20.
A Swift by Sundell spin-off.

Customize your app’s Launch Screen using its Info Plist

Published at 21:00 GMT, 23 Jun 2020
Written by: Kaya Thomas

In April 2020, Apple announced that they would start requiring apps submitted to the App Store to use a storyboard for their launch screens.

However, using a storyboard for the launch screen for a SwiftUI app feels a bit unnatural, since storyboards aren’t used in any other context within such apps.

So now, with Xcode 12 and when using the new “SwiftUI App” life cycle option when creating a project in Xcode, there is now a default Launch Screen key in your app’s Info.plist file which enables you to customize your launch screen without using a storyboard.

The Launch Screen key has six options which you can set:

  1. Background color
  2. Image name
  3. Image respects safe area insets
  4. Show navigation bar
  5. Show Tab bar
  6. Show Toolbar

Enabling Show navigation bar, Show Tab bar or Show Toolbar will show an empty version of that element at launch.

This new option is just one of many examples of how Apple is making it easier to build SwiftUI-only apps from start to finish this year.

Written by: Kaya Thomas

Tired of wasting time debugging your iOS app? Cut down debugging time by up to 4x with Instabug’s SDK. Get complete device details, network logs, and reproduction steps with each bug report, and it only takes a line of code to setup! Start now and get three months off, exclusively for readers of this site.