Deprecated Symbols

GameKit APIs that have been deprecated and are no longer supported.

Topics

Achievement View Controllers

GKAchievementViewController

An GKAchievementViewController object provides a standard user interface to display achievement progress for the local player. If the GKGameCenterViewController class is available, you should use it instead.

Deprecated
GKAchievementViewControllerDelegate

An object implementing the GKAchievementViewControllerDelegate protocol is called when the user dismisses the achievements view controller. Typically, this protocol is implemented by the object in your game that originally displayed the achievements user interface.

Deprecated

Challenge Events and View Controllers

GKChallengeEventHandler

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

Deprecated
GKChallengeEventHandlerDelegate

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

Deprecated

Friend Request View Controllers

GKFriendRequestComposeViewController

Your game uses the GKFriendRequestComposeViewController class to present a screen that allows the local player to send friend requests to other players.

Deprecated
GKFriendRequestComposeViewControllerDelegate

The GKFriendRequestComposeViewControllerDelegate protocol is implemented by delegates of the GKFriendRequestComposeViewController class. The delegate is called when the player dismisses the friend request.

Deprecated

Voice Chat

GKVoiceChatClient

The GKVoiceChatClient protocol is implemented to control the behavior of the GKVoiceChatService object. The voice chat client has a number of responsibilities:

Deprecated
GKVoiceChatService

The GKVoiceChatService class allows your application to connect two iOS devices into a voice chat.

Deprecated

Leaderboard View Controllers

GKLeaderboardViewController

The GKLeaderboardViewController class provides a standard user interface that displays leaderboard scores to the player. If the GKGameCenterViewController class is available, you should use it instead.

Deprecated
GKLeaderboardViewControllerDelegate

The GKLeaderboardViewControllerDelegate protocol is implemented by delegates of the GKLeaderboardViewController class. The delegate is called when the player dismisses the leaderboard.

Deprecated

Peer Picker Controllers

GKPeerPickerController

The GKPeerPickerController class provides a standard user interface to allow one iOS device to discover and connect to another. The result is a configured GKSession object connecting the two devices. To use a GKPeerPickerController object, your application creates the controller, adds a delegate, configures the allowed connection types, and then shows the peer picker. The delegate is called as the user makes selections within the peer picker interface.

Deprecated
GKPeerPickerControllerDelegate

The GKPeerPickerControllerDelegate protocol is implemented on an object to customize the behavior of a GKPeerPickerController object. The delegate is called by the peer picker to create a session object and to respond as the session is configured by the controller.

Deprecated

Sessions

GKSession

A GKSession object provides the ability to discover and connect to nearby iOS devices using Bluetooth or Wi-fi.

Deprecated
GKSessionDelegate

An object implements the GKSessionDelegate protocol to control the behavior of a GKSession object. The delegate is called when other visible peers change their state relative to the session. It is also called to determine whether another peer is allowed to connect to the session.

Deprecated

Game Sessions

GKCloudPlayer

The object representing the currently signed-in iCloud user.

Deprecated
GKGameSession

A game session you can use to save game data, invite other players, and create turn-based and real-time game apps.

Deprecated
GKGameSessionEventListener

An event listener that handles game session events.

Deprecated
GKGameSessionSharingViewController

A user interface you can use to invite other users into a tvOS game session.

Deprecated
GKGameSessionErrorCode

Error codes for the GKGameSession domain.

Deprecated
GKGameSessionErrorDomain

The error domain for game sessions.

Deprecated

Turn Based Events

GKTurnBasedEventHandler

The GKTurnBasedEventHandler class is used to respond to important messages related to turn-based matches. To use it, call the sharedTurnBasedEventHandler class method to get the Singleton instance and assign an object that implements the GKTurnBasedEventHandlerDelegate protocol to its delegate property. All methods are called on the main thread.

Deprecated
GKTurnBasedEventHandlerDelegate

The GKTurnBasedEventHandlerDelegate protocol is implemented by an object to receive notifications events for turn-based matches. All methods are called on the main thread.

Deprecated

Deprecated Constants

GKSessionErrorDomain

An error occurred in GKSession.

GKVoiceChatServiceErrorDomain

An error occurred in GKVoiceChatService.

Deprecated Enumerations

GKPeerConnectionState

The state of a peer known to the session.

Deprecated
GKPeerPickerConnectionType

Network connections available to the peer picker dialog.

Deprecated
GKSendDataMode

The mechanism used to transmit data to other peers.

Deprecated
GKSessionError

Error codes for the GKSession error domain.

Deprecated
GKSessionMode

Modes that determine how a session interacts with other peers.

Deprecated
GKVoiceChatServiceError

Error codes for the GKVoiceChatService error domain.

Deprecated