Heres my code:
Code:
[self reportScore:701 forCategory:[NSString stringWithString:@"11111"]];
Code:
- (void) reportScore: (int64_t) score forCategory: (NSString*) category
{
GKScore *scoreReporter = [[[GKScore alloc] initWithCategory:category] autorelease];
scoreReporter.value = score;
[scoreReporter reportScoreWithCompletionHandler:^(NSError *error) {
if (error != nil)
{
NSLog(@"'reportScore:' error!");
}
else
{
NSLog(@"'reportScore:' successful!");
}
}];
}
Is anything wrong?
When I run I return "reportScore: successful! log but the score isn't updated on the leader boards.
Is this a sandbox problem?