<!--
{
  "availability" : [
    "iOS: 5.0.0 -",
    "iPadOS: 5.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.8.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GameKit",
  "identifier" : "/documentation/GameKit/GKMatchmakerViewController/addPlayers(to:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "GameKit"
    ],
    "preciseIdentifier" : "c:objc(cs)GKMatchmakerViewController(im)addPlayersToMatch:"
  },
  "title" : "addPlayers(to:)"
}
-->

# addPlayers(to:)

Invites additional players to join an existing match.

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

## Parameters

`match`

The match to which you want to add players.

## 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.

---

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)