<!--
{
  "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/GKTurnBasedEventListener/player(_:receivedExchangeRequest:for:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "GameKit"
    ],
    "preciseIdentifier" : "c:objc(pl)GKTurnBasedEventListener(im)player:receivedExchangeRequest:forMatch:"
  },
  "title" : "player(_:receivedExchangeRequest:for:)"
}
-->

# player(_:receivedExchangeRequest:for:)

Handles when the local player receives an exchange request from another participant.

```
optional func player(_ player: GKPlayer, receivedExchangeRequest exchange: GKTurnBasedExchange, for match: GKTurnBasedMatch)
```

## Parameters

`player`

The player who receives this turn-based event.

`exchange`

The exchange request sent from the other participant.

`match`

The match related to this turn-based event.

## Discussion

Reply to this exchange request using the `GKTurnBasedExchange` [`reply(withLocalizableMessageKey:arguments:data:completionHandler:)`](/documentation/GameKit/GKTurnBasedExchange/reply(withLocalizableMessageKey:arguments:data:completionHandler:)) method.

---

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)