Chandaboy
Chandaboy

Reputation: 313

game center report score not working

gameCenterManager [gameCenterManager reportScore:score_value forCategory:@"123"];

not working?? whenever I send a score through the above line , when I run this applciation and open gdb then Missed Method is saying in the callDeletgete

how can I solve it

Upvotes: 0

Views: 1792

Answers (1)

xuanweng
xuanweng

Reputation: 1939

my report score codees are like this:

GKScore *scoreReporter = [[[GKScore alloc] initWithCategory:@"123"] autorelease];
                scoreReporter.value = 123456;

                [scoreReporter reportScoreWithCompletionHandler:^(NSError *error) {
                    if (error != nil)
                    {
                        // handle the reporting error
                    }
                }];

Upvotes: 1

Related Questions