Contents

disclosureIndicator(displayed:options:)

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

Declaration

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 Always.

  • options:

    Configuration options for the disclosure indicator. See 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.

See Also

Creating a disclosure indicator