---
title: response
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nsusernotification/response
---

# response

The response with which the user responded to a notification.

## Declaration

```swift
@NSCopying var response: NSAttributedString? { get }
```

## Discussion

Discussion When the user responds to a notification, the NSUserNotificationCenterDelegate method userNotificationCenter(_:didActivate:) is called with the notification, the activationType property set to NSUserNotification.ActivationType.replied, and this property is set with the user’s response.

## See Also

### Display Information

- [title](foundation/nsusernotification/title.md)
- [subtitle](foundation/nsusernotification/subtitle.md)
- [informativeText](foundation/nsusernotification/informativetext.md)
- [contentImage](foundation/nsusernotification/contentimage.md)
- [identifier](foundation/nsusernotification/identifier.md)
- [responsePlaceholder](foundation/nsusernotification/responseplaceholder.md)
