- iOS 7.0+
- macOS 10.11+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
Bounds(for: NSText Container?, proposed Line Fragment: CGRect, glyph Position: CGPoint, character Index: Int) -> CGRect
Returns the layout bounds of the text attachment to the layout manager.
Bounds: CGRect, text Container: NSText Container?, character Index: Int) -> UIImage?
Returns the image object rendered by the layout manager in the given image bounds rectangle inside the text container.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.Learn more about using Apple's beta software