---
title: removeTextAlternatives()
framework: browserenginekit
role: symbol
role_heading: Instance Method
path: browserenginekit/betextinput/removetextalternatives()
---

# removeTextAlternatives()

Removes text alternatives from the text input object for the current selection

## Declaration

```swift
optional func removeTextAlternatives()
```

## Mentioned in

Integrating custom browser text views with UIKit
