Resolves any conflicting saved games.
- iOS 8.0+
- macOS 10.10+
An array of
GKSavedobjects containing the conflicting saved games to be deleted.
An object that contains the saved game data.
A block to be called when the request completes.
The block receives the following parameters:
An array of
GKSavedobjects containing a saved game list with all conflicts contained in the
conflictingparameter resolved. If there are any conflicting saved game files that were not in the
conflictingparameter, these objects will automatically be appended to the end of the
savedarray. For example, if there are five saved game files with the same name, but only three are in the
conflictingarray, this array will contain the resolved saved game file and the two unresolved files.
If an error occurred, this parameter holds an error object that explains the error. Otherwise, the value of this parameter is
This method takes an array of
GKSaved objects that contain conflicting saved game files and creates a new array that contains the resolved conflicts. All saved game conflicts are resolved and added to the
saved array in the completion handler. Call this method separately for each set of saved game conflicts. For example, if you have multiple saved game files with the name of “savedgame1” and “savedgame2”, you need to call this method twice—once with an array containing the
GKSaved objects with the “savedgame1” name and once for the “savedgame2” objects. All saved game conflicts are resolved asynchronously.