loadMatchesWithCompletionHandler:
will talk to the Game Center servers and I would expect it to fail if your device is offline. You are checking for error
to be not nil
. Is error.localizedDescription
telling you you're not connected?
My bet would be that the Game Center default view will show you matches that it cached from the last time you were connected. You could do this too, but remember that you would also have to cache the matchData
. Not sure how important that would be since you won't be able to submit your turn anyways.