Contents

sceneClass

The class of the scene object that you want UIKit to create.

Declaration

var sceneClass: AnyClass? { get set }

Discussion

The class you specify must be UIScene or one of its subclasses. Typically, you specify the UIWindowScene class for all windows associated with your app.

UIKit sets this property’s initial value using the UISceneClassName key from the appropriate scene in your app’s Info.plist file.

See Also

Specifying the scene creation details