- Jun 6, 2020
- 11,559
- 4,422
Hi, I have another question to do with gamecenter,
I am trying to have it so when the player clicks to open the leaderboard, they're brought to the "global" leaderboard instead of "friends".
After doing some investigation, I found out that apple allows you to do this through playerScope.
[H3]
[H3]
When I set the playerScope field, it returns the correct value, in this following instance 1... But it wont correlate to the interface and will still display "friends" as the default.
My question is what am I doing wrong?
Pull up leaderboard with GKGameCenterViewController:
I am trying to have it so when the player clicks to open the leaderboard, they're brought to the "global" leaderboard instead of "friends".
برای دیدن لینک ها باید ثبت نام کنید
After doing some investigation, I found out that apple allows you to do this through playerScope.
[H3]
برای دیدن لینک ها باید ثبت نام کنید
[/H3]
برای دیدن تصاویر باید ثبت نام کنید
developer.apple.com[H3]
برای دیدن لینک ها باید ثبت نام کنید
[/H3]
برای دیدن تصاویر باید ثبت نام کنید
developer.apple.comWhen I set the playerScope field, it returns the correct value, in this following instance 1... But it wont correlate to the interface and will still display "friends" as the default.
My question is what am I doing wrong?
Pull up leaderboard with GKGameCenterViewController:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید