accessibilityString(for:)
Returns the substring for the specified range.
Declaration
func accessibilityString(for range: NSRange) -> String?Parameters
- range:
A range of characters contained by this element.
Return Value
The substring specified by the given range.