Calculates the bounding box around the characters in the range of the string.
- iOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- tvOS 13.0+
The range of the characters in the text string around which to draw a bounding box.
An error that contains information about failed computation of the bounding box, or
nilif no error occurred.
The bounding boxes are not guaranteed to be an exact fit around the characters. Use them to show in user interfaces or general guidance, but refrain from using their contents for image processing.