accessibilityRange(for:)
Returns the range for the text in a given accessibility marker range.
Declaration
func accessibilityRange(for range: BEAccessibilityTextMarker.Range) -> NSRangeParameters
- range:
A text marker range for text in the element’s string.
Return Value
The range in the string for the text in range, or (NSNotFound,0) if the method can’t calculate the range.