Class

GKChallengeEventHandler

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

Declaration

class GKChallengeEventHandler : NSObject

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

Topics

Getting and Setting the Delegate

var delegate: GKChallengeEventHandlerDelegate!

The delegate for the event handler.

Relationships

Inherits From

Conforms To

See Also

Challenge Events and View Controllers

protocol GKChallengeEventHandlerDelegate

You implement the GKChallengeEventHandlerDelegate delegate to control how challenges are displayed in your game.

Deprecated

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software