<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.10.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GameKit",
  "identifier" : "/documentation/GameKit/GKInviteEventListener/player(_:didRequestMatchWithRecipients:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "GameKit"
    ],
    "preciseIdentifier" : "c:objc(pl)GKInviteEventListener(im)player:didRequestMatchWithRecipients:"
  },
  "title" : "player(_:didRequestMatchWithRecipients:)"
}
-->

# player(_:didRequestMatchWithRecipients:)

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

```
optional func player(_ player: GKPlayer, didRequestMatchWithRecipients recipientPlayers: [GKPlayer])
```

## Parameters

`player`

The local player who sends the invitation.

`recipientPlayers`

The players who receive invitations to join the match.

## Discussion

When GameKit calls this method, Game Center starts the matchmaking process.

---

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)