A graphical element that draws text.
SDKs
- iOS 7.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
Framework
- Sprite
Kit
Declaration
class SKLabelNode : SKNode
Overview
SKLable
allows you to render text in your scene. You can define a custom style using properties such as font
and font
, or configure the look of your text with an NSAttributed
.