Can I "save" an OpenFeint notification and then display it after a player finishes a level? I know I could use the OFNotificationData object to create a custom notification, but I'm quite content with the default notification design. I'd just like to tell it WHEN to display. Is there a function I can call on a OFNotificationData object that will display the notification on command?
I'd like to do something like this:
-(BOOL)isOpenFeintNotificationAllowed:(OFNotificationData*)notificationData {
if(notificationData.notificationCategory == kNotificationCategoryHighScore)
return YES;
else
return NO;
}
- (void)handleDisallowedNotification:(OFNotificationData*)notificationData {
//add the notificationData to an NSMutableArray in a singleton class
}
And then when the level ends, I can loop through the array and display any notifications the user may have missed (usually it would only be 1... at most 2).
Is this possible? The lack of OpenFeint documentation & sample code is beyond frustrating...