- Home /
How can I show a specific leaderboard in iOS GameCenter?
I'm trying with no luck, using:
GameCenterPlatform.ShowLeaderboardUI(id, TimeScope.AllTime);
Instead, I get a page showing all leaderboards and user has to manually select which leaderboard to view. This is unacceptable if you have so many leaderboards, you don't always know which one you played last?
Any ideas?
One thing I have in mind is that I'm currently in Sandbox and from iOS end, the leaderboards are not yet live, so maybe Unity's API calls won't come through yet. Meaning this will possibly get fixed as soon as the game gets live. Can any one confirm?
Answer by amanullahusmani · Jun 26, 2016 at 11:26 AM
Have you tried using Social.ShowLeaderboardUI
of Social api? In my case it shows all leaderboards along with challenges tab, like and rate of Game Center.
Thanks for your suggestion bro.
However, Social.Show$$anonymous$$erboardUI() doesn't work for me as it has no id parameter to open a specific leaderboard id unlike GameCenterPlatform.Show$$anonymous$$erboardUI(int, TimeScope).
Answer by iMagesBlues · Oct 21, 2016 at 09:49 AM
I have filed a repro-case and Unity has acknowledged that this is a bug.
Anyone interested can follow issue 808537 which they say should be fixed in 5.4.3.
Looks like it's not available yet in 5.5.0. How can I see the issue you are talking about ?
Your answer
Follow this Question
Related Questions
GameCenterPlatform - Load leaderboards with custom parameters 1 Answer
Social Api causing crashes 2 Answers
Did Social.LoadUsers() stop working? 3 Answers
When will Social.ReportScore() fail? 0 Answers
What is System.Action? 1 Answer