<!--
{
  "availability" : [
    "*: -",
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GroupActivities",
  "identifier" : "/documentation/GroupActivities/GroupSession/postEvent(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Group Activities",
      "GroupActivities"
    ],
    "preciseIdentifier" : "s:15GroupActivities0A7SessionC9postEventyyAC0E0Vyx_GF"
  },
  "title" : "postEvent(_:)"
}
-->

# postEvent(_:)

Posts an event to the system, which displays the information in
the system UI.

```
final func postEvent(_ event: GroupSession<ActivityType>.Event)
```

## Parameters

`event`

The event to display in the system UI.

## Discussion

Call this method to update the system’s UI with information
about session-related events. For example, a music-listening app
might post an event to notify the group that a participant added
a song to a shared playlist. The system displays the event information
only on the current device. It doesn’t forward events to other devices.

---

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)