An action that can accept user-typed text.
- iOS 10.0+
- macOS 10.14+
- Mac Catalyst 13.0+Beta
- watchOS 3.0+
UNText 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 is delivered to your app.
For information on how to define actions and categories, see Declaring Your Actionable Notification Types.