Class

NSUserNotificationAction

An action that the user can take in response to receiving a notification.

Declaration

@interface NSUserNotificationAction : NSObject

Overview

User notifications can specify one or more actions to show to the user by using the additionalActivationAction or additionalActions properties. NSUserNotificationAction objects contain the localized title shown to the user and an identifier used to differentiate between presented actions.

Topics

Creating User Notification Actions

+ actionWithIdentifier:title:

Creates a user notification action with a specified identifier and title.

Getting the Identifier and Title

identifier

The identifier for the user notification action.

title

The localized title shown to the user.

Relationships

Inherits From

Conforms To

See Also

User Notifications

NSUserNotification

A notification that can be scheduled for display in the notification center.

Deprecated
NSUserNotificationCenter

An object that delivers notifications from apps to the user.

Deprecated
NSUserNotificationCenterDelegate

An interface that enables customizing the behavior of the default notification center.