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

# hasReplyButton

A Boolean value that specifies whether the notification displays a reply button.

## Declaration

```swift
var hasReplyButton: Bool { get set }
```

## Discussion

Discussion Set to true if the notification has a reply button. The default value is false. If this property and hasActionButton are both true, the reply button is shown.

## See Also

### Displayed Notification Buttons

- [hasActionButton](foundation/nsusernotification/hasactionbutton.md)
- [actionButtonTitle](foundation/nsusernotification/actionbuttontitle.md)
- [otherButtonTitle](foundation/nsusernotification/otherbuttontitle.md)
