Removes the specified game session.
- iOS 10.0–12.0Deprecated
- macOS 10.12–10.14Deprecated
- tvOS 10.0–12.0Deprecated
The unique string that identifies the game session to be removed.
A block that is called after a game session has been removed from a container.
If an error occurred, this parameter holds an error object that explains the error. Otherwise, the value of this parameter is nil. See GameKit Constants for a list of error codes specific to GameKit.
After the user has finished a game or decides to abandon a game, you must use this function to remove the game session from iCloud. Game sessions are not removed from iCloud automatically.