<!--
{
  "availability" : [
    "iOS: 7.0.0 -",
    "iPadOS: 7.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.10.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 3.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GameKit",
  "identifier" : "/documentation/GameKit/GKInviteEventListener",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "GameKit"
    ],
    "preciseIdentifier" : "c:objc(pl)GKInviteEventListener"
  },
  "title" : "GKInviteEventListener"
}
-->

# GKInviteEventListener

A protocol that handles invite events from Game Center.

```
protocol GKInviteEventListener
```

## Overview

Implement the methods in the [`GKInviteEventListener`](/documentation/GameKit/GKInviteEventListener) protocol to accept invitations from other players or handle when other players accept invitations from the local player.

Adopt the [`GKLocalPlayerListener`](/documentation/GameKit/GKLocalPlayerListener) protocol to listen for and handle a variety of Game Center events for player accounts instead of the individual [`GKChallengeListener`](/documentation/GameKit/GKChallengeListener), [`GKInviteEventListener`](/documentation/GameKit/GKInviteEventListener), [`GKSavedGameListener`](/documentation/GameKit/GKSavedGameListener), and [`GKTurnBasedEventListener`](/documentation/GameKit/GKTurnBasedEventListener) protocols.

For details, see [Finding multiple players for a game](/documentation/GameKit/finding-multiple-players-for-a-game).

## Topics

### Starting a New Match

[`-  player:didAcceptInvite:`](/documentation/GameKit/GKInviteEventListener/player(_:didAccept:))

Handles the event when the local player accepts an invitation from another player.

[`-  player:didRequestMatchWithRecipients:`](/documentation/GameKit/GKInviteEventListener/player(_:didRequestMatchWithRecipients:))

Handles the event when the local player sends other players an invitation to join a match.

[`-  player:didRequestMatchWithPlayers:`](/documentation/GameKit/GKInviteEventListener/player(_:didRequestMatchWithPlayers:))

Handles the event when the local player sends other players an invitation to join a match.

## Relationships

### Inherited By

[`GKLocalPlayerListener`](/documentation/GameKit/GKLocalPlayerListener)

---

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)