TechnologiesData, Storage & Cloud

GameSave

iOSmacOStvOSwatchOSvisionOS

GameSave synchronizes a game's save data directory across a player's devices on iOS, macOS, and visionOS. You work with a GSSyncedDirectory (or GameSaveSyncedDirectory) to manage the synced directory, and read its GSSyncedDirectoryState and GSSyncedDirectoryVersion to inspect the directory's properties and resolve versions. The GSSyncState enum reports where the directory stands in the sync process, so your game can respond to the current state of its saved data.

Managing the Synced Directory 2

Access and manage the game's save data directory as it synchronizes across a player's devices.

  • Cl
    GSSyncedDirectory
    A cloud-synced directory for game-save data.
  • Cl
    GameSaveSyncedDirectory
    A cloud-synced directory for game-save data.

Inspecting Sync State and Versions 2

Read the synced directory's current properties and resolve its versions during synchronization.

  • Cl
    GSSyncedDirectoryState
    Represents the state and its associated properties of the directory
  • Cl
    GSSyncedDirectoryVersion
    An object that represents a version of the synced directory, used to inspect and resolve versions.

Sync Status 1

Determine where the synced directory stands in the synchronization process.

  • En
    GSSyncState
    Constants that indicate where the synced directory stands in the synchronization process.

Extends 1

View
← Data, Storage & Cloud