---
title: sectionHeaderHeight
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uitableview/sectionheaderheight
---

# sectionHeaderHeight

The height of section headers in the table view.

## Declaration

```swift
var sectionHeaderHeight: CGFloat { get set }
```

## Mentioned in

Adding headers and footers to table sections

## Discussion

Discussion The default value is automaticDimension. If the delegate doesn’t implement tableView(_:heightForHeaderInSection:), the table view calculates the height automatically. To override automatic height calculation, set this property to a positive value.

## See Also

### Related Documentation

- [tableHeaderView](uikit/uitableview/tableheaderview.md)

### Configuring header and footer appearance

- [sectionFooterHeight](uikit/uitableview/sectionfooterheight.md)
- [estimatedSectionHeaderHeight](uikit/uitableview/estimatedsectionheaderheight.md)
- [estimatedSectionFooterHeight](uikit/uitableview/estimatedsectionfooterheight.md)
- [sectionHeaderTopPadding](uikit/uitableview/sectionheadertoppadding.md)
