GKChallengeEventHandler Class Reference

Inherits from
Conforms to
Framework
/System/Library/Frameworks/GameKit.framework
Availability
Available in iOS 6.0 and later.
Deprecated in iOS 7.0.
Companion guide
Declared in
GKChallengeEventHandler.h

Overview

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.

Tasks

Retrieving the Shared Instance

Getting and Setting the Delegate