---
title: matchmakingMode
framework: gamekit
role: symbol
role_heading: Instance Property
path: gamekit/gkmatchmakerviewcontroller/matchmakingmode
---

# matchmakingMode

The mode that a multiplayer game uses to find players.

## Declaration

```swift
var matchmakingMode: GKMatchmakingMode { get set }
```

## Mentioned in

Finding multiple players for a game

## Discussion

Discussion This method throws an exception if the mode isn’t possible due to restrictions.

## See Also

### Creating and configuring the view controller

- [init(matchRequest:)](gamekit/gkmatchmakerviewcontroller/init(matchrequest:).md)
- [init(invite:)](gamekit/gkmatchmakerviewcontroller/init(invite:).md)
- [matchRequest](gamekit/gkmatchmakerviewcontroller/matchrequest.md)
- [canStartWithMinimumPlayers](gamekit/gkmatchmakerviewcontroller/canstartwithminimumplayers.md)
- [GKMatchmakingMode](gamekit/gkmatchmakingmode.md)
