Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Game Center Achievement Notification Classes on GitHub

DZone's Guide to

Game Center Achievement Notification Classes on GitHub

· Mobile Zone
Free Resource

Download this comprehensive Mobile Testing Reference Guide to help prioritize which mobile devices and OSs to test against, brought to you in partnership with Sauce Labs.

This looks pretty darn handy for your Game Center using apps, from the amusingly named Typeoneerror Studios:

 

Game Center Achievement Notification


Game Center has a notification window that slides down and informs the GKLocalPlayer that they’ve been authenticated. There is no built-in way to display achievements that the user may have earned during use of your application. The GKAchievementNotification classes are a way to display achievements awarded to the player in the same manner as the authenticated message—similar to Xbox Live style achievement dialogs. The achievement dialogs are added to the UIWindow view of your application…
high-roller.png


Yep, “same manner as the authenticated message” is just the way we’d think is appropriate to display this kind of thing. Code is on github, check it out!

h/t: @rwenderlich!

Analysts agree that a mix of emulators/simulators and real devices are necessary to optimize your mobile app testing - learn more in this white paper, brought to you in partnership with Sauce Labs.

Topics:

Published at DZone with permission of Alex Curylo, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}