Contents

multiselect(displayed:options:)

Creates a multiselect system accessory with the specified display state and configuration options.

Declaration

static func multiselect(displayed: UICellAccessory.DisplayedState = .whenEditing, options: UICellAccessory.MultiselectOptions = MultiselectOptions()) -> UICellAccessory

Parameters

  • displayed:

    The cell-editing states that the multiselect accessory appears in. This parameter has a default value of Whenediting.

  • options:

    Configuration options for the multiselect accessory. See Multiselectoptions for possible configuration options.

Return Value

A configured multiselect cell accessory that changes apperance according to the cell’s selection state. The accessory displays as an empty circle for an unselected cell and as a filled circle with a checkmark for a selected cell. This accessory appears on the leading edge of the cell.

See Also

Creating a multiselect accessory