accessibilityAttributedString(for:)
Returns the attributed substring for the specified range of characters.
Declaration
optional func accessibilityAttributedString(for range: NSRange) -> NSAttributedString?Parameters
- range:
The range of characters.
Return Value
An attributed string representing the specified characters.