Contents

accessibilityLine(for:)

Returns the line number for the line that contains the specified character index.

Declaration

func accessibilityLine(for index: Int) -> Int

Parameters

  • index:

    The index for a character.

Return Value

The line number for the line holding the specified character index.

See Also

Supporting Accessibility