A data object containing information about the reasons why UIKit created the scene.
- iOS 13.0+Beta
- Mac Catalyst 13.0+Beta
- tvOS 13.0+Beta
UIKit creates scenes for many reasons. It might do so in response to a Handoff request or a request to open a URL. When there is a specific reason for creating a scene, UIKit fills a
UIScene object with the associated data and passes it to your delegate at connection time. Use the information in this object to respond accordingly. For example, open the URLs that UIKit provides, and display their contents in the scene.
Do not create
UIScene objects directly. UIKit creates
UIScene objects for you and passes them to the
scene(_: method of your scene delegate.