<!--
{
  "availability" : [
    "iOS: 3.2.0 -",
    "iPadOS: 3.2.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.5.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreText",
  "identifier" : "/documentation/CoreText/CTFontCreateUIFontForLanguage(_:_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Core Text"
    ],
    "preciseIdentifier" : "c:@F@CTFontCreateUIFontForLanguage"
  },
  "title" : "CTFontCreateUIFontForLanguage(_:_:_:)"
}
-->

# CTFontCreateUIFontForLanguage(_:_:_:)

Returns the special user-interface font for the given language and user-interface type.

```
func CTFontCreateUIFontForLanguage(_ uiType: CTFontUIFontType, _ size: CGFloat, _ language: CFString?) -> CTFont?
```

## Parameters

`uiType`

A  constant specifying the intended user-interface use for the requested font reference. See Enumerations for possible values.

`size`

The point size for the font reference. If `0.0` is specified, the default size for the requested user-interface type is used.

`language`

Language specifier string to select a font for a particular localization. If `NULL` is specified, the current system language is used. The format of the language identifier should conform to the RFC 3066bis standard.

## Return Value

The correct font for various user-interface uses.

## Discussion

The only required parameter is the `uiType` selector; the other parameters have default values.

---

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)