---
title: "CTFontGetUIFontType(_:)"
framework: Core Text
role: symbol
role_heading: Function
platforms: [iOS 13.0+, iPadOS 13.0+, Mac Catalyst 13.1+, macOS 10.15+, tvOS 13.0+, visionOS 1.0+, watchOS 6.0+]
path: "coretext/ctfontgetuifonttype(_:)"
---

# CTFontGetUIFontType(_:)

## Declaration

```swift
func CTFontGetUIFontType(_ font: CTFont) -> CTFontUIFontType
```

## Discussion

Discussion Get the CTFontUIFontType of UI font. Note that this value may differ from the uiType parameter originally passed to CTFontCreateUIFontForLanguage, as the system may use a different uiType value internally.
