Game Center GKTurnBasedMatch problems with matchData property Game Center GKTurnBasedMatch problems with matchData property objective-c objective-c

Game Center GKTurnBasedMatch problems with matchData property


I discovered the solution on Apple's Dev Forums.

It turns out that loadMatchesWithCompletionHandler: doesn't always grab the most up-to-date matchData. To make sure you have the most recent version, make sure you call the loadMatchDataWithCompletionHandler: method on your GKTurnBasedMatch object.