<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIFont/boldSystemFont(ofSize:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIFont(cm)boldSystemFontOfSize:"
  },
  "title" : "boldSystemFont(ofSize:)"
}
-->

# boldSystemFont(ofSize:)

Returns the font object for standard interface items in boldface type in the specified size.

```
class func boldSystemFont(ofSize fontSize: CGFloat) -> UIFont
```

## Parameters

`fontSize`

The size (in points) for the font. This value must be greater than `0.0`.

## Return Value

A font object of the specified size.

## Discussion

Instead of using this method to get a font, it’s often more appropriate to use [`preferredFont(forTextStyle:)`](/documentation/UIKit/UIFont/preferredFont(forTextStyle:)) because that method respects the user’s selected content size category.

---

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)