---
title: contentInsetsReference
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/nscollectionlayoutsection/contentinsetsreference
---

# contentInsetsReference

The boundary to reference when defining content insets.

## Declaration

```swift
var contentInsetsReference: UIContentInsetsReference { get set }
```

## Discussion

Discussion This property represents the reference point to use when defining contentInsets. The default value of this property is UIContentInsetsReference.automatic, which means the section follows the layout configuration’s contentInsetsReference.

## See Also

### Configuring section spacing

- [interGroupSpacing](uikit/nscollectionlayoutsection/intergroupspacing.md)
- [contentInsets](uikit/nscollectionlayoutsection/contentinsets.md)
- [supplementaryContentInsetsReference](uikit/nscollectionlayoutsection/supplementarycontentinsetsreference.md)
- [UIContentInsetsReference](uikit/uicontentinsetsreference.md)
