Updating the Launch screen to work with Dark Mode

The Launch screen currently looks the same in both Light Mode and Dark Mode when you run your app in the Simulator. You will update the custom color used for the Launch screen in Launchscreen.storyboard, so it looks different depending on the mode. Take the following steps:

  1. Click Assets.xcassets in the Project navigator. Click colors, and click the Attributes inspector. Select LetsEat Dark Grey, if it is not already selected. Note that Appearances is set to None, as shown in the following screenshot:
  1. Set Appearances to Any, Dark, as shown in the following screenshot. Do the same for LetsEat ...

Get iOS 13 Programming for Beginners - Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.