Contents

UIButton.Configuration.Indicator.automatic

A constant that automatically determines an indicator style according to the button’s properties.

Declaration

case automatic

Discussion

With this behavior, the system automatically shows an indicator if the button shows a menu and has single-selection behavior (when its isContextMenuInteractionEnabled, showsMenuAsPrimaryAction, and changesSelectionAsPrimaryAction properties are true).

See Also

Indicator styles