Contents

automaticallyUpdatesContentConfiguration

A Boolean value that determines whether the cell automatically updates its content configuration when its state changes.

Declaration

var automaticallyUpdatesContentConfiguration: Bool { get set }

Discussion

When this value is true, the cell automatically calls updated(for:) on its contentConfiguration when the cell’s configurationState changes, and applies the updated configuration back to the cell. The default value is true.

If you override updateConfiguration(using:) to manually update and customize the content configuration, disable automatic updates by setting this property to false.

See Also

Managing the content