insert(_:replacementRange:)
Inserts an adaptive image into the text at the specifed location.
Declaration
optional func insert(_ adaptiveImageGlyph: NSAdaptiveImageGlyph, replacementRange: NSRange)Parameters
- adaptiveImageGlyph:
The adaptive image to add to the text.
- replacementRange:
The text range at which to insert the image.