GameKit tvOS 11.4 to 12.0 API Differences

GKCloudPlayer.h
Modified GKCloudPlayer
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedGKGameSession is deprecated. Use GKPlayer for both real-time and turn-based matchmaking APIs.

GKFriendRequestComposeViewController.h
GKGameSession.h
Modified GKGameSession
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedFor real-time matches, use GKMatchmakerViewController. For turn-based matches, use GKTurnBasedMatchmakerViewController.

GKGameSessionError.h
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedGKGameSession is deprecated, use real-time and turn-based matchmaking APIs instead.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedGKGameSession is deprecated, use real-time and turn-based matchmaking APIs instead.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedGKGameSession is deprecated, use real-time and turn-based matchmaking APIs instead.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedGKGameSession is deprecated, use real-time and turn-based matchmaking APIs instead.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedGKGameSession is deprecated, use real-time and turn-based matchmaking APIs instead.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedGKGameSession is deprecated, use real-time and turn-based matchmaking APIs instead.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedGKGameSession is deprecated, use real-time and turn-based matchmaking APIs instead.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedGKGameSession is deprecated, use real-time and turn-based matchmaking APIs instead.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedGKGameSession is deprecated, use real-time and turn-based matchmaking APIs instead.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedGKGameSession is deprecated, use real-time and turn-based matchmaking APIs instead.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedGKGameSession is deprecated, use real-time and turn-based matchmaking APIs instead.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedGKGameSession is deprecated, use real-time and turn-based matchmaking APIs instead.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedGKGameSession is deprecated, use real-time and turn-based matchmaking APIs instead.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedGKGameSession is deprecated, use real-time and turn-based matchmaking APIs instead.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedGKGameSession is deprecated, use real-time and turn-based matchmaking APIs instead.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedGKGameSession is deprecated, use real-time and turn-based matchmaking APIs instead.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedGKGameSession is deprecated, use real-time and turn-based matchmaking APIs instead.

GKGameSessionEventListener.h
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse GKLocalPlayerListener for multiplayer event notifications.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse GKLocalPlayer's registerListener: to register for GKLocalPlayerListener event notifications.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse GKLocalPlayer's unregisterListener: or unregisterAllListeners to unregister from GKLocalPlayerListener event notifications.

GKGameSessionEventListenerPrivate.h
Removed +[GKGameSession postSession:didAddPlayer:]
Removed +[GKGameSession postSession:didRemovePlayer:]
Removed +[GKGameSession postSession:player:didChangeConnectionState:]
Removed +[GKGameSession postSession:player:didSaveData:]
Removed +[GKGameSession postSession:didReceiveData:fromPlayer:]
Removed +[GKGameSession postSession:didReceiveMessage:withData:fromPlayer:]
GKGameSessionSharingViewController.h
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedFor real-time matches, use GKMatchmakerViewController. For turn-based matches, use GKTurnBasedMatchmakerViewController.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedFor real-time matches, use GKMatchmakerViewControllerDelegate to receive notifications from the GKMatchmakerViewController. For turn-based matches, use GKTurnBasedMatchmakerViewControllerDelegate and GKLocalPlayerListener to receive notifications from the GKTurnBasedMatchmakerViewController.

GKLocalPlayer.h
Declaration
From+ (nonnull GKLocalPlayer *)localPlayer
To@property (class, readonly, nonnull) GKLocalPlayer *localPlayer

GKPublicProtocols.h