<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GroupActivities",
  "identifier" : "/documentation/GroupActivities/GroupActivityAssociationInteraction/associationKind",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Group Activities",
      "UIKit"
    ],
    "preciseIdentifier" : "s:22_GroupActivities_UIKit0A30ActivityAssociationInteractionC15associationKind0aB00adeH0VSgvp"
  },
  "title" : "associationKind"
}
-->

# associationKind

An optional value that indicates the kind of group activity association,
if any.

```
@MainActor var associationKind: GroupActivityAssociationKind? { get set }
```

## Discussion

Set this property to `nil` to remove the view’s association with the
current SharePlay group activity.

You should create an interaction for each view that your app will
associate and then enable and disable them as needed.
If multiple views with active associations are found, the most
recently associated interaction will be used.

---

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)