---
title: "matchmakerViewController(_:getMatchPropertiesForRecipient:withCompletionHandler:)"
framework: gamekit
role: symbol
role_heading: Instance Method
path: "gamekit/gkmatchmakerviewcontrollerdelegate/matchmakerviewcontroller(_:getmatchpropertiesforrecipient:withcompletionhandler:)"
---

# matchmakerViewController(_:getMatchPropertiesForRecipient:withCompletionHandler:)

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

## Declaration

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

```swift
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:

## Mentioned in

Finding players using matchmaking rules

## Discussion

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.
