---
title: "multiselect(displayed:options:)"
framework: uikit
role: symbol
role_heading: Type Method
path: "uikit/uicellaccessory-swift.struct/multiselect(displayed:options:)"
---

# multiselect(displayed:options:)

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

## Declaration

```swift
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 doc://com.apple.uikit/documentation/UIKit/UICellAccessory-swift.struct/DisplayedState/whenEditing.
- `options`: Configuration options for the multiselect accessory. See doc://com.apple.uikit/documentation/UIKit/UICellAccessory-swift.struct/MultiselectOptions for possible configuration options.

## Return Value

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

- [UICellAccessory.MultiselectOptions](uikit/uicellaccessory-swift.struct/multiselectoptions.md)
