Instance Property

connectedScenes

The app's currently connected scenes.

Declaration

var connectedScenes: Set<UIScene> { get }

Discussion

Connected scenes are those that are in memory and potentially doing active work. A connected scene may be in the foreground or background, and it may be onscreen or offscreen.

See Also

Getting Scene Information

var supportsMultipleScenes: Bool

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

var openSessions: Set<UISceneSession>

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