---
title: "AccessoryNotification.Action.ActionType.textInput(placeholder:)"
framework: accessorynotifications
role: symbol
role_heading: Case
path: "accessorynotifications/accessorynotification/action/actiontype/textinput(placeholder:)"
---

# AccessoryNotification.Action.ActionType.textInput(placeholder:)

An action type that captures text provided by a person in response to a notification.

## Declaration

```swift
case textInput(placeholder: String)
```

## Parameters

- `placeholder`: Text that acts as a placeholder for the text input field.

## See Also

### Determining the type of action

- [AccessoryNotification.Action.ActionType.dismiss](accessorynotifications/accessorynotification/action/actiontype/dismiss.md)
- [AccessoryNotification.Action.ActionType.background](accessorynotifications/accessorynotification/action/actiontype/background.md)
