<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GroupActivities",
  "identifier" : "/documentation/GroupActivities/GroupSession/sceneSessionIdentifier",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Group Activities"
    ],
    "preciseIdentifier" : "s:15GroupActivities0A7SessionC05sceneC10IdentifierSSSgvp"
  },
  "title" : "sceneSessionIdentifier"
}
-->

# sceneSessionIdentifier

The persistent identifier of the session’s associated scene.

```
final var sceneSessionIdentifier: String? { get }
```

## Discussion

Use this property to determine which of your app’s scenes belongs
with this session. You can configure a [`GroupActivity`](/documentation/GroupActivities/GroupActivity) object
with a [`SceneAssociationBehavior`](/documentation/GroupActivities/SceneAssociationBehavior) type that tells the system
how to associate the activity with one of your app’s scenes.
After matching the activity to a specific scene, the system places
the scene identifier in this property.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)