<!--
{
  "availability" : [
    "iOS: 18.4.0 -",
    "iPadOS: 18.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UISmartReplySuggestion",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UISmartReplySuggestion"
  },
  "title" : "UISmartReplySuggestion"
}
-->

# UISmartReplySuggestion

A class you use to handle a Smart Reply suggestion.

```
class UISmartReplySuggestion
```

## Overview

Use the [`smartReply`](/documentation/UIKit/UISmartReplySuggestion/smartReply) string as a signal of the user’s intention when you generate long form text based on the option the user selected.

## Topics

### Getting the Smart Reply

[`smartReply`](/documentation/UIKit/UISmartReplySuggestion/smartReply)

A string from the Smart Reply option the user selected.

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`CVarArg`](/documentation/Swift/CVarArg)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

[`Hashable`](/documentation/Swift/Hashable)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

### Inherits From

[`UIInputSuggestion`](/documentation/UIKit/UIInputSuggestion)

---

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)