---
title: setNeedsUpdateConfiguration()
framework: uikit
role: symbol
role_heading: Instance Method
path: uikit/uitableviewcell/setneedsupdateconfiguration()
---

# setNeedsUpdateConfiguration()

Informs the cell to update its configuration for its current state.

## Declaration

```swift
func setNeedsUpdateConfiguration()
```

## Discussion

Discussion You call this method when you need the cell to update its configuration according to the current configuration state. The system calls this method automatically when the cell’s configurationState changes, as well as in other circumstances that may require an update. The system might combine multiple requests into a single update. If you add custom states to the cell’s configuration state, make sure to call this method every time those custom states change.

## See Also

### Managing the state

- [configurationState](uikit/uitableviewcell/configurationstate-4xwj0.md)
- [updateConfiguration(using:)](uikit/uitableviewcell/updateconfiguration(using:).md)
- [configurationUpdateHandler](uikit/uitableviewcell/configurationupdatehandler-974.md)
- [UITableViewCell.ConfigurationUpdateHandler](uikit/uitableviewcell/configurationupdatehandler-swift.typealias.md)
