<!--
{
  "availability" : [
    "iOS: 9.0.0 - 10.0.0",
    "iPadOS: 9.0.0 - 10.0.0",
    "macCatalyst: 13.1.0 - 13.1.0"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIUserNotificationActionBehavior/textInput",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@E@UIUserNotificationActionBehavior@UIUserNotificationActionBehaviorTextInput"
  },
  "title" : "UIUserNotificationActionBehavior.textInput"
}
-->

# UIUserNotificationActionBehavior.textInput

The text input behavior.

```
case textInput
```

## Discussion

When specified, the system provides a way for the user to enter a text response to be included with the notification. The text response is assigned to the [`UIUserNotificationActionResponseTypedTextKey`](/documentation/UIKit/UIUserNotificationActionResponseTypedTextKey) of the response information dictionary when the notification is delivered to your app.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)