---
title: fontWeight()
framework: uikit
role: symbol
role_heading: Instance Method
path: uikit/uiimage/symbolweight/fontweight()
---

# fontWeight()

The font weight for the specified symbol weight.

## Declaration

```swift
func fontWeight() -> UIFont.Weight
```

## Return Value

Return Value The UIFont.Weight value that matches the specified symbol weight.
