Instance Property

session

The session associated with the scene.

Declaration

@property(nonatomic, readonly) UISceneSession *session;

Discussion

UIKit maintains a session object for each scene. The session object contains a unique identifier for the scene and other information about its configuration.