Deletes a specific saved game file.
SDKs
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
Framework
- Game
Kit
Declaration
Parameters
name
A string that identifies the saved game data to be deleted.
handler
A block to be called when the request completes.
The block receives the following parameters:
- error
If an error occurred, this parameter holds an error object that explains the error. Otherwise, the value of this parameter is
nil
, indicating a successful delete.
Discussion
This method deletes saved game files asynchronously.