<!--
{
  "availability" : [
    "iOS: 6.0.0 -",
    "iPadOS: 6.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.9.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GameKit",
  "identifier" : "/documentation/GameKit/GKMatchmaker/finishMatchmaking(for:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "GameKit"
    ],
    "preciseIdentifier" : "c:objc(cs)GKMatchmaker(im)finishMatchmakingForMatch:"
  },
  "title" : "finishMatchmaking(for:)"
}
-->

# finishMatchmaking(for:)

Informs the server when programmatic matchmaking finishes.

```
func finishMatchmaking(for match: GKMatch)
```

## Parameters

`match`

The match that you are ready to start.

## Discussion

If you need to call the [`addPlayers(to:matchRequest:completionHandler:)`](/documentation/GameKit/GKMatchmaker/addPlayers(to:matchRequest:completionHandler:)) method to fill the slots in an existing match, call the [`finishMatchmaking(for:)`](/documentation/GameKit/GKMatchmaker/finishMatchmaking(for:)) method when you have enough players and before you begin the match.

---

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)