accessibilityTextMarkerRange(for:)
Returns the text marker range for the text in a given range.
Declaration
func accessibilityTextMarkerRange(for range: NSRange) -> BEAccessibilityTextMarker.Range?Parameters
- range:
A range of text in the element’s string.
Return Value
The text marker range for the text in range, or nil if the method can’t calculate the range.