role
The role assigned to the scene configuration.
Declaration
var role: UISceneSession.Role { get }Discussion
UIKit populates this property with an appropriate role value based on the contents of your app’s Info.plist file. You also specify this value when you create a new scene-configuration object.