---
title: invalidateFlowLayoutDelegateMetrics
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uicollectionviewflowlayoutinvalidationcontext/invalidateflowlayoutdelegatemetrics
---

# invalidateFlowLayoutDelegateMetrics

A Boolean indicating whether to recompute the size of items and views in the layout.

## Declaration

```swift
var invalidateFlowLayoutDelegateMetrics: Bool { get set }
```

## Discussion

Discussion The default value of this property is false. Set this property to true if you’re invalidating the layout because of changes to the size of any items. When this property is set to true, the flow layout object recomputes the size of its items and views, querying the delegate object as needed for that information.

## See Also

### Specifying what to invalidate

- [invalidateFlowLayoutAttributes](uikit/uicollectionviewflowlayoutinvalidationcontext/invalidateflowlayoutattributes.md)
