Search code examples
iosapp-store-connectgame-centerappicon

App icon not showing in in-app Game Center VC (GKGameCenterViewController)


I've implemented a Game on iOS that integrates with Game Center. I have a button that opens the in-app Game Center VC (GKGameCenterViewController). In that VC, there seems to be some empty space before the app name. I believe an app icon is supposed to be displayed there, but it's not working.

I have filled-out all the app icon asset sizes, and have uploaded the app to App Store Connect. The icon shows in App Store Connect.

I was wondering if the app needs to be fully released on the App Store for the icon to magically appear?

Other games on my phone show the icon there, I wonder why mine doesn't?


Solution

  • I figured it out. It seems to be tied to setting a leaderboard on App Store Connect. Once I did that, a few seconds later, opening GKGameCenterViewController, on my phone, showed the icon as desired.

    To add the leaderboard go to your App's App Store Connect page:

    1. Scroll down to Game Center, and under leaderboards, click the Select Leaderboards button.

      Select Leaderboards on App Store Connect

    2. Select the checkbox next to your leaderboard, and click the Done button.

      Add Leaderboards on App Store Connect

    After a few seconds, you can open up GKGameCenterViewController on your phone, and the icon should start to load in.