---
title: alternativesForSelectedText()
framework: browserenginekit
role: symbol
role_heading: Instance Method
path: browserenginekit/betextinput/alternativesforselectedtext()
---

# alternativesForSelectedText()

Returns the text alternatives that are available to the text input object.

## Declaration

```swift
func alternativesForSelectedText() -> [BETextAlternatives]?
```

## Mentioned in

Integrating custom browser text views with UIKit
