Edit

Share via


UNTextInputNotificationAction.FromIdentifier Method

Definition

Creates and returns a new text input notification action with the specified values.

[Foundation.Export("actionWithIdentifier:title:options:textInputButtonTitle:textInputPlaceholder:")]
public static UserNotifications.UNTextInputNotificationAction FromIdentifier (string identifier, string title, UserNotifications.UNNotificationActionOptions options, string textInputButtonTitle, string textInputPlaceholder);
static member FromIdentifier : string * string * UserNotifications.UNNotificationActionOptions * string * string -> UserNotifications.UNTextInputNotificationAction

Parameters

identifier
String

The unique identifier for the action within the scope of the app.

title
String

The title of the action.

options
UNNotificationActionOptions

The notification action options.

textInputButtonTitle
String

The title of the text input button.

textInputPlaceholder
String

The placeholder text.

Returns

A new text input notification action with the specified values

Attributes

Applies to