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 will fully enclose all the lines of characters.