Contents

automaticallyUpdatesConfiguration

A Boolean value that determines whether the button configuration changes when button’s state changes.

Declaration

var automaticallyUpdatesConfiguration: Bool { get set }

Discussion

Set this property to true to have the button call updated(for:) (Swift) or updatedConfigurationForButton: (Objective-C) when the button state changes and apply the changes to the button. The default value is true.

See Also

Managing the appearance with a configuration object