---
title: targetRange
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiaccessibilitycustomrotoritemresult/targetrange
---

# targetRange

The text range (if any) of the target element.

## Declaration

```swift
var targetRange: UITextRange? { get set }
```

## See Also

### Getting information about the target element

- [targetElement](uikit/uiaccessibilitycustomrotoritemresult/targetelement.md)
