Contents

accessibilityBounds(for:)

Calculates the bounding rectangle for a text range.

Declaration

func accessibilityBounds(for range: BEAccessibilityTextMarker.Range) -> CGRect

Parameters

  • range:

    The text marker range.

Return Value

The bounds in accessiblity space of the text range, or CGRectZero if the method can’t calculate the bounds.

See Also

Text ranges