0 Replies
      Latest reply on Sep 13, 2019 11:59 AM by steckjeapple
      steckjeapple Level 1 Level 1 (0 points)

        For a single gamecenter leaderboard I want to get a total of all scores uploaded within the last week.

        Currently I query the leaderboard with a start of 1 and range of 100, fetch the scores, add those scores to a running total, fetch another 100 with a  start value incremented by 100, add those to the running total; keep doing this until gamecenter returns no scores.

        This works but it is not efficient due to the multiple fetches to the leaderboards . I am hoping there is a total stored somewhere on the gamecenter server that I can access directly.