Displays a character string at a position you specify.
- iOS 2.0–7.0Deprecated
- macOS 10.0–10.9Deprecated
- tvOS 9.0–9.0Deprecated
- watchOS 2.0–2.0Deprecated
- Core Graphics
A value for the x-coordinate (in user space) at which to display the text.
A value for the y-coordinate (in user space) at which to display the text.
An array of characters to draw.
The length of the array specified in the
Core Graphics uses font data provided by the system to map each byte of the array through the encoding vector of the current font to obtain the glyph to display. Note that the font must have been set using
select. Don’t use
CGContext in conjunction with