---
title: openSessions
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiapplication/opensessions
---

# openSessions

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

## Declaration

```swift
var openSessions: Set<UISceneSession> { get }
```

## Discussion

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

- [supportsMultipleScenes](uikit/uiapplication/supportsmultiplescenes.md)
- [connectedScenes](uikit/uiapplication/connectedscenes.md)
