<!--
{
  "documentType" : "article",
  "framework" : "GameKit",
  "identifier" : "/documentation/GameKit/gkmatchmaker-deprecated-symbols",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Deprecated Symbols"
}
-->

# Deprecated Symbols

## Topics

### Deprecated Properties

[`var inviteHandler: ((GKInvite, [Any]?) -> Void)?`](/documentation/GameKit/GKMatchmaker/inviteHandler)

A block that GameKit calls when an invitation to join a match is accepted by the local player.

### Deprecated Methods

[`func cancelInvite(toPlayer: String)`](/documentation/GameKit/GKMatchmaker/cancelInvite(toPlayer:))

Cancels a pending invitation to another player.

[`func findPlayers(forHostedMatchRequest: GKMatchRequest, withCompletionHandler: (([String]?, (any Error)?) -> Void)?)`](/documentation/GameKit/GKMatchmaker/findPlayers(forHostedMatchRequest:withCompletionHandler:))

Initiates a request to find players for a hosted match.

[`func startBrowsingForNearbyPlayers(reachableHandler: ((String, Bool) -> Void)?)`](/documentation/GameKit/GKMatchmaker/startBrowsingForNearbyPlayers(reachableHandler:))

Enables the matchmaking process to find nearby players through Bluetooth or WiFi, but only on the same subnet.



---

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)