SKLabelNode
A graphical element that draws text.
Declaration
class SKLabelNodeMentioned in
Overview
SKLabelNode allows you to render text in your scene. You can define a custom style using properties such as fontName and fontColor, or configure the look of your text with an NSAttributedString.
Topics
Getting Started with Labels
Creating a Label
Setting a Label’s Text
Specifying a Label’s Font
Controlling a Label’s Alignment
verticalAlignmentModeSKLabelVerticalAlignmentModehorizontalAlignmentModeSKLabelHorizontalAlignmentMode