Instance Property

identifier

The unique string that your app uses to identify the action.

Declaration

iOS, Mac Catalyst, watchOS
@property(copy, readonly, nonatomic) NSString *identifier;
macOS
@property(copy, readonly, atomic) NSString *identifier;

Discussion

When the user selects an action, the system reports the value of this string to your app. Because all actions are handled by a single delegate method, the identifier strings for all of your app's actions must be unique.

See Also

Getting the Action Information

title

The localized string to use as the title of the action.