Instance Property

openSessions

The sessions whose scenes are either currently active or archived by the system.

Declaration

var openSessions: Set<UISceneSession> { get }

Discussion

An archived session does not have a connected scene, but a snapshot of its UI does appear in the app switcher. When the user selects that UI in the app switcher, the system asks your app to recreate the UI from the session information.

See Also

Getting Scene Information

var supportsMultipleScenes: Bool

A Boolean value indicating whether the app may display multiple scenes simultaneously.

var connectedScenes: Set<UIScene>

The app's currently connected scenes.