Contents

GKChallengeListener

An object that responds to challenge events.

Declaration

protocol GKChallengeListener : NSObjectProtocol

Overview

Your game can ignore a challenge, start up in a specific state so the local player can respond to a challenge, or notify the challenger when the local player completes a challenge.

Don’t implement GKChallengeListener directly; instead use GKLocalPlayerListener. The GKLocalPlayerListener protocol inherits methods from GKChallengeListener, GKInviteEventListener, GKSavedGameListener, and GKTurnBasedEventListener in order to handle multiple events.

Topics

Responding to a Challenge

Completing a Challenge

See Also

Deprecated protocols