RobotUIKit API
|
View controller for notifying a user that they earned an achievement. More...
#import <RUIAchievementEarnedViewController.h>
Public Member Functions | |
(void) | - setAchievement: |
(void) | - displayInView: |
This will controller will animate an overlay in at the top of the screen notifying a user that they earned an achievement. Call the setAchievement method then displayInView. You can release the view controller at this point, it will automatically load the achievement image, display the notification and release resources when done.
- (void) displayInView: | (UIView *) | view |
Display the notification in a view, usually the current fullscreen view
view | the view to display the notification in |
- (void) setAchievement: | (RKAchievement *) | achievement |
The achievement to display a notification for
achievement | the achievement to display the notification for |