Instance Method

player(_:didModifySavedGame:)

Indicates that saved game data was modified.

Declaration

optional func player(_ player: GKPlayer, didModifySavedGame savedGame: GKSavedGame)

Parameters

player

An object containing the current player’s information.

savedGame

An object containing the saved game information.

Discussion

This method is usually called when a game is saved on device other than the device currently in use.