Contents

GKChallengeEventHandler

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

Declaration

class GKChallengeEventHandler

Overview

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 initializing the local player, because your game may have launched in response to a challenge notification being received by the player.

Topics

Getting and Setting the Delegate

See Also

Deprecated classes