---
title: allowsReplacement
framework: TranslationUIProvider
role: symbol
role_heading: Instance Property
platforms: [iOS 18.4+, iPadOS 18.4+, Mac Catalyst 18.4+]
path: translationuiprovider/translationuiprovidercontext/allowsreplacement
---

# allowsReplacement

A Boolean value that indicates whether the control can replace the source text.

## Declaration

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

## Discussion

Discussion Use this flag to indicate when a control replaces the source text with the translation.

## See Also

### Instance Properties

- [inputText](translationuiprovider/translationuiprovidercontext/inputtext.md)
