Returns the layout bounds of the text attachment to the layout manager.
- iOS 7.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 9.0+
The text container for the text being laid out.
The line fragment containing the text attachment.
The glyph location inside
linewhich is the origin of the returned bounds rectangle.
The character location inside the text storage for the attachment character.
Conforming objects can implement more sophisticated logic for negotiating the attachment bounds based on the available container space and proposed line fragment rectangle.