Contents

badgeCount

The number of items in a multiple-item interaction.

Declaration

var badgeCount: Int { get set }

Discussion

The system uses this value to generate a badge for the stack of selected items to indicate how many items the menu is acting on. A value below 2 hides the badge. If you don’t set this value, the system determines it automatically.

See Also

Handling multiple-item interactions