Returns the configuration data for UIKit to use when creating a new scene.
- iOS 13.0+
- Mac Catalyst 13.0+
- tvOS 13.0+
The singleton app object.
The session object associated with the scene. This object contains the initial configuration data loaded from the app's
Infofile, if any.
System-specific options for configuring the scene.
The configuration object containing the information needed to create the scene.
Implement this method if you do not include scene-configuration data in your app's
Info file, or if you want to alter the scene configuration data dynamically. UIKit calls this method shortly before creating a new scene. In your implementation, return a
UIScene object with the scene details, including the type of scene to create, the delegate object you use to manage the scene, and the storyboard containing the initial view controller to display.
If you do not implement this method, you must provide scene-configuration data in your app's