<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UITableViewCell/accessoryType-swift.property",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UITableViewCell(py)accessoryType"
  },
  "title" : "accessoryType"
}
-->

# accessoryType

The type of standard accessory view for the cell to use in the table view’s normal state.

```
var accessoryType: UITableViewCell.AccessoryType { get set }
```

## Discussion

The accessory view appears in the right side of the cell in the table view’s normal (default) state. The standard accessory views include the disclosure chevron; for a description of valid [`accessoryType`](/documentation/UIKit/UITableViewCell/accessoryType-swift.property) constants, see [`UITableViewCell.AccessoryType`](/documentation/UIKit/UITableViewCell/AccessoryType-swift.enum). The default is [`UITableViewCell.AccessoryType.none`](/documentation/UIKit/UITableViewCell/AccessoryType-swift.enum/none). If a custom accessory view is set through the [`accessoryView`](/documentation/UIKit/UITableViewCell/accessoryView) property, the value of this property is ignored. If the cell is enabled and the accessory type is [`UITableViewCell.AccessoryType.detailDisclosureButton`](/documentation/UIKit/UITableViewCell/AccessoryType-swift.enum/detailDisclosureButton), the accessory view tracks touches and, when tapped, sends the data-source object a [`tableView(_:accessoryButtonTappedForRowWith:)`](/documentation/UIKit/UITableViewDelegate/tableView(_:accessoryButtonTappedForRowWith:)) message.

The accessory-type image cross-fades between normal and editing states if it set for both states; use the [`editingAccessoryType`](/documentation/UIKit/UITableViewCell/editingAccessoryType) property to set the accessory type for the cell during editing mode. If this property is not set for both states, the cell is animated to slide in or out, as necessary.

## See Also

[`willTransition(to:)`](/documentation/UIKit/UITableViewCell/willTransition(to:))

Notifies the cell that it’s about to transition to a new cell state.

[`didTransition(to:)`](/documentation/UIKit/UITableViewCell/didTransition(to:))

Notifies the cell that it transitioned to a new cell state.



---

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)