---
title: contentSizeAdjustment
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uicollectionviewlayoutinvalidationcontext/contentsizeadjustment
---

# contentSizeAdjustment

The delta value to be applied to the collection view’s content size.

## Declaration

```swift
var contentSizeAdjustment: CGSize { get set }
```

## Discussion

Discussion Use this property to update the size of the collection view’s content area. The default value of this property is CGSizeZero. Changing the value causes the collection view to add the specified height and width values to its contentSize property. Thus, positive values grow the content area and negative values shrink it.

## See Also

### Invalidating the Content Area

- [contentOffsetAdjustment](uikit/uicollectionviewlayoutinvalidationcontext/contentoffsetadjustment.md)
