UAMutableUserNotificationCategory Class Reference
Inherits from | UAUserNotificationCategory : NSObject |
Declared in | UAMutableUserNotificationCategory.h |
Class Methods
categoryWithUIUserNotificationCategory:
Factory method for creating a UAMutableUserNotificationCategory out of a UIUserNotificationCategory.
+ (instancetype)categoryWithUIUserNotificationCategory:(UIUserNotificationCategory *)uiCategory
Parameters
- uiCategory
An instance of UIUserNotificationCategory.
Return Value
An instance of UAUserNotificationCategory.
Declared In
UAMutableUserNotificationCategory.h
Instance Methods
setActions:forContext:
Sets the actions to display for different alert styles.
- (void)setActions:(nullable NSArray *)actions forContext:(UIUserNotificationActionContext)context
Parameters
- actions
An array of UAUserNotificationAction objects representing the actions to display for the given context.
- context
The context in which the alert is displayed.
Declared In
UAMutableUserNotificationCategory.h