I was gonna post it tomorrow but i decided to post it right now. why?
cause i dont have anything to do right now :p
Get to the point!
#import "CLScoreServerPost.h"
-(void) requestGlobalScore
{
CLScoreServerRequest *request = [[CLScoreServerRequest alloc]initWithGameName:@"Mayday Timeattack" delegate:self];
[request requestScores:kQueryAllTime limit:10 offset:currentScoreflags:kQueryFlagIgnore];
[request release];
}
-(void) scoreRequestOk: (id) sender
{
NSArray *scores = [sender parseScores];
NSMutableArray * serverScore = [NSMutableArray arrayWithArray:scores];
}Try the above lines then you will be find.
If you have any questions, reply~
댓글 없음:
댓글 쓰기