<!--
{
  "availability" : [
    "iOS: 17.2.0 -",
    "iPadOS: 17.2.0 -",
    "macCatalyst: 17.2.0 -",
    "macOS: 14.2.0 -",
    "tvOS: 17.2.0 -",
    "visionOS: 1.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GameKit",
  "identifier" : "/documentation/GameKit/GKMatchmakerViewControllerDelegate/matchmakerViewController(_:getMatchPropertiesForRecipient:withCompletionHandler:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "GameKit"
    ],
    "preciseIdentifier" : "c:objc(pl)GKMatchmakerViewControllerDelegate(im)matchmakerViewController:getMatchPropertiesForRecipient:withCompletionHandler:"
  },
  "title" : "matchmakerViewController(_:getMatchPropertiesForRecipient:withCompletionHandler:)"
}
-->

# matchmakerViewController(_:getMatchPropertiesForRecipient:withCompletionHandler:)

Returns the properties for another player that the local player invites using the view controller interface.

```
optional func matchmakerViewController(_ viewController: GKMatchmakerViewController, getMatchPropertiesForRecipient recipient: GKPlayer, withCompletionHandler completionHandler: @escaping @Sendable ([String : Any]) -> Void)
```

```
optional func matchmakerViewController(_ viewController: GKMatchmakerViewController, getMatchPropertiesForRecipient recipient: GKPlayer) async -> [String : Any]
```

## Parameters

`viewController`

The view controller that finds players for the match.

`recipient`

A player to invite to the match.

`completionHandler`

The block that this method calls when it completes the request.

    The block receives the following parameter:

- `recipientProperties`: The properties for `recipient` that the local player invites to the match.

## Discussion

Implement this method if you can provide properties for the recipients of this match request to better fine tune the Game Center matchmaking using rules. For more information, see [Matchmaking rules](/documentation/GameKit/matchmaking-rules).

---

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)