如何设置游戏中心排行榜 [英] How do I set up a game center leader board

查看:166
本文介绍了如何设置游戏中心排行榜的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Xcode中使用常规objective-c,我在iTunes Connect上创建了一个游戏中心排行榜,我已经设置了游戏中心,所以当我的应用程序打开时,它首次要求登录,然后检查是否你在此之后已经登录或者不是每隔一段时间就已经登录了..我还有一个高分保存为userDefault整数我只是不知道怎么拿我的intHighScore,创建一个公共领导委员会,然后把每个人的HighScore在排行榜上,我找不到关于制作排行榜和苹果开发者网站的任何教程都没有帮助。

I am using regular objective-c in Xcode, I created a game center leader board on iTunes Connect and I have set up game center so when my app is opened it asks for a login the first time then checks to see if you're already signed in or not every other time after that.. I also have a high score saved as a userDefault integer I just don't know how to take my int "HighScore", create a public leader board and then put everyones HighScore on to the leaderboard and I cannot find any tutorials on making leaderboards and apples developer website just doesn't help.

推荐答案

这篇关于如何设置游戏中心排行榜的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆