开发者

Is it possible to display GKAchievementViewController and GKLeaderboardViewController together?

Is it p开发者_如何学JAVAossible to display both the Game Kit Leaderboard and Achievement controllers simultaneously?

Documentation for both of these controllers is very light.

GKAchievementViewController

GKLeaderboardViewController


Both are calling to different views.. you can only set leaderboard display first.. and when user closes leaderboard, it show achievements.. or vice-versa..

in your function:

-(void)leaderboardViewControllerDidFinish:(GKLeaderboardViewController *)viewController
{//when leaderboard closes..
//run achievements ViewController..
}


You would have to write your own view controller & implement leaderboards & achievements together - how it would work (for the user I mean) I've no idea, but the code wouldn't be that hard, it's well documented.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜