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

Launching an app doesn’t need to be daunting. Whether you’re just getting started or need a refresher on mobile app testing best practices, this guide is your resource! Brought to you in partnership with Perfecto

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!

Keep up with the latest DevTest Jargon with the latest Mobile DevTest Dictionary. Brought to you in partnership with Perfecto.

Topics:

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

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

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

{{ parent.tldr }}

{{ parent.urlSource.name }}