---
title: ascender
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uifont/ascender
---

# ascender

The top y-coordinate, offset from the baseline, of the font’s longest ascender.

## Declaration

```swift
var ascender: CGFloat { get }
```

## Discussion

Discussion The ascender value is measured in points.

## See Also

### Getting Font Metrics

- [pointSize](uikit/uifont/pointsize.md)
- [descender](uikit/uifont/descender.md)
- [leading](uikit/uifont/leading.md)
- [capHeight](uikit/uifont/capheight.md)
- [xHeight](uikit/uifont/xheight.md)
- [lineHeight](uikit/uifont/lineheight.md)
