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

# disclosureIndicator(displayed:options:)

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

## Declaration

```swift
static func disclosureIndicator(displayed: UICellAccessory.DisplayedState = .always, options: UICellAccessory.DisclosureIndicatorOptions = DisclosureIndicatorOptions()) -> UICellAccessory
```

## Parameters

- `displayed`: The cell-editing states that the disclosure indicator appears in. This parameter has a default value of doc://com.apple.uikit/documentation/UIKit/UICellAccessory-swift.struct/DisplayedState/always.
- `options`: Configuration options for the disclosure indicator. See doc://com.apple.uikit/documentation/UIKit/UICellAccessory-swift.struct/DisclosureIndicatorOptions for possible configuration options.

## Return Value

Return Value A configured disclosure indicator cell accessory. This accessory is a disclosure chevron that points in the trailing direction. This accessory appears on the trailing edge of the cell.

## Discussion

Discussion Use this cell accessory to indicate that users can tap on the cell to disclose additional content.

## See Also

### Creating a disclosure indicator

- [UICellAccessory.DisclosureIndicatorOptions](uikit/uicellaccessory-swift.struct/disclosureindicatoroptions.md)
