Contents

openSessions

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

Declaration

var openSessions: Set<UISceneSession> { get }

Discussion

An archived session doesn’t 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