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

# editAction

The selector defining the action message to invoke when users tap the insert or delete button.

```
@property (nonatomic, nullable) SEL editAction;
```

## Discussion

When the cell’s table is in editing mode, the cell displays a green insert control or a red delete control to the left of it. (The [`selectedBackgroundView`](/documentation/UIKit/UITableViewCell/selectedBackgroundView) constant applied to the cell via the [`editingStyle`](/documentation/UIKit/UITableViewCell/editingStyle-swift.property) property determines which control is used.) Typically, the associated [`UITableView`](/documentation/UIKit/UITableView) object sets the editing action for all cells; you can use this property to alter the editing action for individual cells. If the value of this property is `NULL`, no action message is sent.

---

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)