---
title: flushLayoutCache()
framework: uikit
role: symbol
role_heading: Instance Method
path: uikit/nstextselectionnavigation/flushlayoutcache()
---

# flushLayoutCache()

Flushes cached layout information.

## Declaration

```swift
func flushLayoutCache()
```

## Discussion

Discussion You call this method whenever the contents of the document change.
