---
title: userText
framework: accessorynotifications
role: symbol
role_heading: Instance Property
path: accessorynotifications/notificationresponse/usertext
---

# userText

A text string that a person provides in response to the notification.

## Declaration

```swift
var userText: String?
```

## Discussion

Discussion This property contains text for notifications that support the AccessoryNotification.Action.ActionType.textInput(placeholder:) action type.
