willConnectNotification
A notification that indicates that UIKit added a scene to your app.
Declaration
nonisolated class let willConnectNotification: NSNotification.NameMentioned in
Discussion
When the user or your app requests a new instance of your user interface, UIKit creates an appropriate UIScene object and places it in the object property of the notification. Use this notification to respond to the addition of the new scene and to begin loading any data that the scene needs to display.
UIKit also calls the scene(_:willConnectTo:options:) method of your scene delegate object.