Returns the actions to be displayed for the given notification context.
- iOS 8.0–10.0Deprecated
- Mac Catalyst 13.0–13.0Deprecated
The context in which the notification is displayed. Notifications can have a default context or a minimal context depending on whether the notification was just delivered or the user is looking at it in more detail.
An array of
UIUser objects to be displayed in the specified context. The order of the objects in the array represents the order that they are displayed in the resulting notification.
This method returns the actions associated with the specified display context. To set the actions for a given context, you must create a
UIMutable object and use its setActions:forContext: method to specify your actions.