GameKit iOS 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
Availability
FromAvailable
ToDeprecated

Availability
FromAvailable
ToDeprecated

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:]
GKLocalPlayer.h
Declaration
From+ (nonnull GKLocalPlayer *)localPlayer
To@property (class, readonly, nonnull) GKLocalPlayer *localPlayer

GKPeerPickerController.h
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse MCBrowserViewController along with MCBrowserViewControllerDelegate from the MultipeerConnectivity framework

Availability
FromAvailable
ToDeprecated

GKPublicProtocols.h
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse MCSession in association with MCSessionDelegate from the MultipeerConnectivity framework instead

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse GKVoiceChat instead

GKSession.h
Availability
FromAvailable
ToDeprecated

GKVoiceChatService.h
Availability
FromAvailable
ToDeprecated