UIButton.Configuration.Indicator.automatic
A constant that automatically determines an indicator style according to the button’s properties.
Declaration
case automaticDiscussion
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).