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

# selfSizingInvalidation

The mode that the collection view uses for invalidating the size of self-sizing cells.

```
var selfSizingInvalidation: UICollectionView.SelfSizingInvalidation { get set }
```

## Discussion

> Related Sessions from WWDC22:
> Session 10068: [What’s new in UIKit](https://developer.apple.com/wwdc22/10068)

---

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)