Contents

accessibilityString(for:)

Returns the substring for the specified range.

Declaration

func accessibilityString(for range: NSRange) -> String?

Parameters

  • range:

    A range of characters contained by the element.

Return Value

The substring specified by the given range.

See Also

Configuring text elements