Hello, I am trying to pull the latest score list from the GameCenter but
once it is submited, it does not comeback right away, but after 3-15
seconds delay (as in it works if I do the fetch on a delay)
Here is sample of what I do doring submition/fetching, and wonder if this
is just while in testflight or if there is a proper way of doing this?:
[GKScore reportScores:scores withCompletionHandler:^(NSError *error) {
if(!error) {
...
// put break point here and wait 20 seconds, the score is
returned...
// if you don't break and wait here, the old (previouse) score is
returned instead
[leaderboardRequest loadScoresWithCompletionHandler: ^(NSArray
*scores, NSError *error) {
if(!error) {
// do something with the score here
}
}];
}
}];
_______________________________________________
Cocoa-dev mailing list ([email protected])
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]