Deprecated Symbols

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

Topics

Achievement View Controllers

class 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
protocol 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

class GKChallengeEventHandler

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

Deprecated
protocol GKChallengeEventHandlerDelegate

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

Deprecated

Friend Request View Controllers

class GKFriendRequestComposeViewController

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

Deprecated
protocol 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

protocol GKVoiceChatClient

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

Deprecated
class GKVoiceChatService

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

Deprecated

Leaderboard View Controllers

class 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
protocol GKLeaderboardViewControllerDelegate

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

Deprecated

Sessions

class GKSession

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

Deprecated
protocol 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

class GKCloudPlayer

The object representing the currently signed-in iCloud user.

Deprecated
class GKGameSession

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

Deprecated
protocol GKGameSessionEventListener

An event listener that handles game session events.

Deprecated
class GKGameSessionSharingViewController

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

Deprecated
struct GKGameSessionError

Error codes for the GKGameSession domain.

Deprecated
enum GKGameSessionError.Code

Error codes for the GKGameSession domain.

Deprecated
let GKGameSessionErrorDomain: String

The error domain for game sessions.

Deprecated

Turn Based Events

class GKTurnBasedEventHandler

The GKTurnBasedEventHandler class is used to respond to important messages related to turn-based matches. To use it, call the shared() 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
protocol 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

let GKSessionErrorDomain: String

An error occurred in GKSession.

let GKVoiceChatServiceErrorDomain: String

An error occurred in GKVoiceChatService.

Deprecated Enumerations

enum GKPeerConnectionState

The state of a peer known to the session.

Deprecated
enum GKSendDataMode

The mechanism used to transmit data to other peers.

Deprecated
enum GKSessionError.Code

Error codes for the GKSession error domain.

Deprecated
enum GKSessionMode

Modes that determine how a session interacts with other peers.

Deprecated
enum GKVoiceChatServiceError.Code

Error codes for the GKVoiceChatService error domain.

Deprecated