<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UICollectionViewLayoutInvalidationContext/contentSizeAdjustment",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UICollectionViewLayoutInvalidationContext(py)contentSizeAdjustment"
  },
  "title" : "contentSizeAdjustment"
}
-->

# contentSizeAdjustment

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

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

## Discussion

Use this property to update the size of the collection view’s content area. The default value of this property is <doc://com.apple.documentation/documentation/CoreGraphics/CGSizeZero>. Changing the value causes the collection view to add the specified height and width values to its [`contentSize`](/documentation/UIKit/UIScrollView/contentSize) property. Thus, positive values grow the content area and negative values shrink it.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)