<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: -",
    "tvOS: 14.0.0 -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UICellAccessory-swift.struct/disclosureIndicator(displayed:options:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "s:5UIKit15UICellAccessoryV19disclosureIndicator9displayed7optionsA2C14DisplayedStateO_AC010DisclosureE7OptionsVtFZ"
  },
  "title" : "disclosureIndicator(displayed:options:)"
}
-->

# disclosureIndicator(displayed:options:)

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

```
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 [`UICellAccessory.DisplayedState.always`](/documentation/UIKit/UICellAccessory-swift.struct/DisplayedState/always).

`options`

Configuration options for the disclosure indicator. See [`UICellAccessory.DisclosureIndicatorOptions`](/documentation/UIKit/UICellAccessory-swift.struct/DisclosureIndicatorOptions) for possible configuration options.

## 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

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

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)