Contents

automaticallyUpdatesBackgroundConfiguration

A Boolean value that determines whether the view automatically updates its background configuration when its state changes.

Declaration

var automaticallyUpdatesBackgroundConfiguration: Bool { get set }

Discussion

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

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

See Also

Configuring the background