I'm using Magnusviri's excellent post for the Gamekit plugin here:
http://giderosmobile.com/forum/discussion/727/gamekit-api/p1When the player chooses to show the leaderboards that sometimes takes a long while, so I'd like to show them a "loading leaderboard" message. However, I don't know when the player comes back from the leaderboards, so I can't remove the loading message. Is that part of the API, or is there another way of knowing what the Gamekit is up to? I suppose what I'm looking for is a "showLeaderboardComplete" event.
Cheers,
Niclas
Comments
because when I click on button to display gamecenter window, it pops up momentarily and displays loading circle inside window while it loads data.
Maybe you are trying to display it before authentication was completed?
Either way, I don't think that even internally there is such event, but maybe I'm mistaken.
But what you can try, is to check if GameCenter is raising any of the application life cycle events, as Event.APPLICATION_BACKGROUND or Event.APPLICATION_SUSPEND and then use it to determine if the window was loaded
Niclas
The pop up and loading is on iPad
So does the app life cycle events work?