How to show a Game Center Achievement Notification
Is there a built in way to show a user a notification that they've earned a Game Center achievement? Similar to the notification that appears开发者_C百科 when they are authenticated?
I was surprised when I completed my achievement and did not see a notification in my game.
Thanks!
in iOS 5.0+ you can use
[GKNotificationbanner showBannerWithTitle:@"Title" message:@"Message" completionHandler:nil];
精彩评论