Returns the bounds of the selection on the specified page.
- iOS 11.0+
- macOS 10.4+
- Mac Catalyst 13.0+
The selection rectangle is given in page space.
Page space is a 72 dpi coordinate system with the origin at the lower-left corner of the current page.
Getting Information About a Selection
var string: String?
NSString object representing the text contained in the selection (may contain linefeed characters).
var color: UIColor?
Sets the color used for the drawing of a selection in both active and inactive states.