---
title: UIWritingToolsCoordinator.TextReplacementReason.rejected
framework: uikit
role: symbol
role_heading: Case
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, visionOS 27.0+]
path: uikit/uiwritingtoolscoordinator/textreplacementreason/rejected
---

# UIWritingToolsCoordinator.TextReplacementReason.rejected

An option to replace the text in your view when a grammar suggestion is rejected.

## Declaration

```swift
case rejected
```

## Discussion

Discussion When the user interacts with a grammar issue and the UI is shown, and the option to ignore a suggestion is chosen, this reason will be used. Update your view’s text storage without animating the change. In addition, use ignoreGrammarRange on UITextChecker to make sure that the suggestion will continue to be ignored.
