Deprecated GKMatchmaker Methods

A method identified as deprecated has been superseded and may become unsupported in the future.

Deprecated in iOS 7.0


A block to be called when an invitation to join a match is accepted by the local player. (Deprecated in iOS 7.0.)

@property(nonatomic, copy) void (^inviteHandler)(GKInvite *acceptedInvite, NSArray *playerIDsToInvite)

The block takes the following parameters:


The invitation accepted by the player.


An array of NSString objects containing player identifiers for additional players to invite into the game.

Your block should respond to the invitation in one of two ways:

If your game receives an invitation while it is already running, it should transition to multiplayer play. It should clean up any existing content, such as ending the current match the player is playing, and then process the invitation.

  • Available in iOS 4.1 and later.
  • Deprecated in iOS 7.0.
Declared In