<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "SpriteKit",
  "identifier" : "/documentation/SpriteKit/SKLabelNode/labelNodeWithFontNamed:",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "SpriteKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SKLabelNode(cm)labelNodeWithFontNamed:"
  },
  "title" : "labelNodeWithFontNamed:"
}
-->

# labelNodeWithFontNamed:

Initializes a new label object.

```
+ (instancetype) labelNodeWithFontNamed:(NSString *) fontName;
```

## Parameters

`fontName`

The name of the font used by the label.

## Return Value

An initialized label object.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)