---
title: "addPlayers(to:)"
framework: gamekit
role: symbol
role_heading: Instance Method
path: "gamekit/gkmatchmakerviewcontroller/addplayers(to:)"
---

# addPlayers(to:)

Invites additional players to join an existing match.

## Declaration

```swift
func addPlayers(to match: GKMatch)
```

## Parameters

- `match`: The match to which you want to add players.

## Discussion

Discussion Call this method prior to presenting the view controller to the player. This method updates the view controller’s interface to show the players already connected to the match. important: Invoke this method from the game instance of only one player connected to the match. Don’t add the same players from multiple game instances.
