selectionRects
The rectangles to draw with the selection highlight.
Declaration
var selectionRects: [UITextSelectionRect] { get set }Discussion
Use this property to get the rectangles to draw in a custom highlight view. The rectangles are in the coordinate space of the view that adopts this protocol.