是否可以同时显示 GKAchievementViewController 和 GKLeaderboardViewController ?
Is it possible to display both the Game Kit Leaderboard and Achievement controllers simultaneously?
Documentation for both of these controllers is very light.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
两者都调用不同的视图..您只能先设置排行榜显示..当用户关闭排行榜时,它会显示成就..反之亦然..
在您的函数中:
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:
您必须编写自己的视图控制器和实施排行榜和一起取得成就 - 它如何工作(我的意思是对于用户)我不知道,但代码不会那么难,它有很好的文档记录。
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.