GKChallengeEventHandler Class Reference

Inherits from
Conforms to
Available in iOS 6.0 and later.
Deprecated in iOS 7.0.
Companion guide
Declared in


The GKChallengeEventHandler class is used to respond to events related to challenges sent or received by the local player.

To use it, call the challengeEventHandler class method to get the singleton instance and assign an object that implements the GKChallengeEventHandlerDelegate protocol to its delegate property. You should assign a challenge event handler immediately after the local player has been authenticated, because your game may have been launched in response to a challenge notification being received by the player.


Retrieving the Shared Instance

Getting and Setting the Delegate