Contents

indicator

The style of the indicator that appears on the button.

Declaration

var indicator: UIButton.Configuration.Indicator { get set }

Discussion

Use this property to control the style of the indicator that appears on the trailing edge of the button. For example, the following code disables the indicator by setting this style to UIButton.Configuration.Indicator.none.

var config = UIButton.Configuration.filled()
config.indicator = .none

See Also

Configuring the indicator