ios - Decrement GKScore value -
when try store score value less current value, doesn't stored. please?
gkscore *scorereporter = [[gkscore alloc] initwithcategory:@"top_matcher"]; scorereporter.value = currentscore - 10; [scorereporter reportscorewithcompletionhandler:^(nserror *error) { nslog(@"error:%@ %lld %@", error, score, scorereporter); }];
you cannot decrement score (if leaderboard set highest first), once post it, there.
Comments
Post a Comment