Contents

UISceneConfiguration

Information about the objects and storyboard for UKit to use when creating a particular scene.

Declaration

@MainActor class UISceneConfiguration

Overview

Use a UISceneConfiguration object to specify information that UIKit can use to create a new scene for your app. Specifically, you must provide the class of the specific scene you want, the class of the scene delegate object your app uses to manage scenes of that type, and a storyboard containing the scene’s initial view controller.

When the user requests a new instance of your app’s user interface, UIKit looks in your app’s Info.plist file for the configuration data it needs to create the corresponding scene object. It then packages that information into a UISceneConfiguration object and delivers it as part of the session it passes to the application(_:configurationForConnecting:options:) method of your app delegate. You can accept that configuration data as is or create a return a new UISceneConfiguration object with a different set of configuration details.

Topics

Creating a configuration object

Specifying the scene creation details

Getting the configuration attributes

Initializers

See Also

Configuration