GKSavedGame
An object that represents a file containing saved game data.
Declaration
class GKSavedGameMentioned in
Overview
A GKSavedGame object represents the file that contains game data you saved using the GKLocalPlayer saveGameData(_:withName:completionHandler:) method.
You don’t create GKSavedGame objects directly. Instead use the fetchSavedGames(completionHandler:) method to get the games you saved. Then get the filename, its modification date, and the name of the device the player used to save the game from the returned objects.
Use the loadData(completionHandler:) method to get the actual game data you saved in the file. To delete saved games, use the deleteSavedGames(withName:completionHandler:) method.