---
title: "postEvent(_:)"
framework: groupactivities
role: symbol
role_heading: Instance Method
path: "groupactivities/groupsession/postevent(_:)"
---

# postEvent(_:)

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

## Declaration

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

## Parameters

- `event`: The event to display in the system UI.

## Discussion

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.
