save the game data for game center

reading over documentation it informs that in the code we must save the game data for archiving if a connection to game center is not available at the time a user tries to submit his or her information. Have any of you worked out a way to handle error returns or how to idinfiy errors in the connection and collect that in to arcived information for a latter time ? This will be a help in our up coming apps where we hope to build in the use of game center for the user
I just realize that when i deleted a game off my iPhone . The save data was still on it. Nice

Original thread: https://forums.imore.com/threads/save-the-game-data-for-game-center.203439/