UNTextInputNotificationAction
An action that accepts user-typed text.
Declaration
class UNTextInputNotificationActionMentioned in
Overview
Use UNTextInputNotificationAction objects to define an action that allows the user to provide a custom text-based response. When the user selects an action of this type, the system displays controls for the user to enter or dictate the text content. That text is then included in the response object that’s delivered to your app.
For information on how to define actions and categories, see Declaring your actionable notification types.
Topics
Essentials
init(identifier:title:options:textInputButtonTitle:textInputPlaceholder:)init(identifier:title:options:icon:textInputButtonTitle:textInputPlaceholder:)