Configuring a Leaderboard in iTunes Connect

Before working with the code side of leaderboards, you must first set up a new leaderboard in iTunes Connect. Log in to iTunes Connect and select the app that we have already been working with from Chapters 1 and 2. Once you have selected your app from the control panel, go to the Manage Game Center area.

The Game Center portal for your app will have a section labeled “Leaderboards.” If this is the first leaderboard that you have set up for this app, you will see a button labeled “Set Up.” If you already have leaderboards in place, the steps here will be different and are covered later in this section.

Once you are in the leaderboard section (see Figure 3–2), select the Add Leaderboard button in the ...

Get Beginning iOS Game Center and Game Kit: For iPhone, iPad, and iPod touch now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.