Deprecated GKMatchmakerViewController Methods

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

Deprecated in iOS 5.0

setHostedPlayerReady:

Informs the controller that a player has joined a hosted match. (Deprecated in iOS 5.0. Use setHostedPlayer:connected: instead.)

- (void)setHostedPlayerReady:(NSString *)playerID
Parameters
player

The identifier string for a player that connected to the external server.

Discussion

In a hosted match, when a new player connects to the server, your server should inform all participating devices connected to the match. Each participating device must separately call this method to update its matchmaking user interface.

Availability
  • Available in iOS 4.1 and later.
  • Deprecated in iOS 5.0.
Declared In
GKMatchmakerViewController.h

Deprecated in iOS 7.0

defaultInvitationMessage

The default invitation message used to initialize an invitation. (Deprecated in iOS 7.0. Set the message on the match request instead.)

@property(nonatomic, copy) NSString *defaultInvitationMessage
Discussion

Your game sets this property to change the default invitation text displayed when the local player creates a new invitation. The local player may edit the text before sending the invitation.

Availability
  • Available in iOS 5.0 and later.
  • Deprecated in iOS 7.0.
Declared In
GKMatchmakerViewController.h