Contents

accessibilityRange(for:)

Returns the range for the text in a given accessibility marker range.

Declaration

func accessibilityRange(for range: BEAccessibilityTextMarker.Range) -> NSRange

Parameters

  • 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.

See Also

Text ranges