accessibilityFrame(for:)
Returns the rectangle that encloses the specified range of characters.
Declaration
func accessibilityFrame(for range: NSRange) -> NSRectParameters
- range:
The range of characters.
Return Value
The rectangle that encloses the specified characters.
Discussion
If the range crosses a line boundary, the returned rectangle fully encloses all the lines of characters.
See Also
Configuring text elements
accessibilityInsertionPointLineNumber()setAccessibilityInsertionPointLineNumber(_:)accessibilityNumberOfCharacters()setAccessibilityNumberOfCharacters(_:)accessibilityPlaceholderValue()setAccessibilityPlaceholderValue(_:)accessibilitySelectedText()setAccessibilitySelectedText(_:)accessibilitySelectedTextRange()setAccessibilitySelectedTextRange(_:)accessibilitySelectedTextRanges()setAccessibilitySelectedTextRanges(_:)accessibilitySharedCharacterRange()setAccessibilitySharedCharacterRange(_:)accessibilitySharedTextUIElements()