An object representing a challenge issued by the local player to another player.
- iOS 6.0+
- macOS 10.8+
- tvOS 9.0+
Players use the Game Center app to issue and view challenges. However, your game can also customize its challenge behaviors in a number of ways:
You can load the list of challenges issued to the local player by calling the
loadclass method. For example, you might do this to display the challenges in your game’s user interface.
Received Challenges With Completion Handler:
You never subclass the
GKChallenge class directly. However, subclasses of
GKChallenge represent specific kinds of challenges. Two challenge types exist: