---
title: supportsTextReplacement
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uitextsearching-3wkjv/supportstextreplacement
---

# supportsTextReplacement

A Boolean value that indicates whether the searchable object supports replacing text.

## Declaration

```swift
var supportsTextReplacement: Bool { get }
```

## See Also

### Handling replacements

- [replace(foundTextRange:document:withText:)](uikit/uitextsearching-3wkjv/replace(foundtextrange:document:withtext:).md)
- [replaceAll(queryString:options:withText:)](uikit/uitextsearching-3wkjv/replaceall(querystring:options:withtext:).md)
- [shouldReplace(foundTextRange:document:withText:)](uikit/uitextsearching-3wkjv/shouldreplace(foundtextrange:document:withtext:).md)
