Reputation: 11297
After completing Game Center achievement, achievement complete banner is not showing up on iOS7. GKAchievement.showsCompletionBanner is already set to YES. It works perfectly fine in iOS6 and iOS5. Anyone have any ideas to make this work? Thx.
This is the property in GKAchievement class I'm refering to.
@property(assign, NS_NONATOMIC_IOSONLY) BOOL showsCompletionBanner __OSX_AVAILABLE_STARTING(__MAC_10_8,__IPHONE_5_0); // A banner will be momentarily displayed after reporting a completed achievement
Upvotes: 11
Views: 3169
Reputation: 415
It seems to be broken in iOS 7. Below is a fix that I use. You just need some condition to fill in the Title and Message. Hope this helps.
[GKNotificationBanner showBannerWithTitle:@"Achievement" message:@"Completed!" completionHandler:^{}];
Upvotes: 18