Instance Property

editingAccessoryType

The type of standard accessory view the cell should use in the table view’s editing state.

Declaration

@property(nonatomic) UITableViewCellAccessoryType editingAccessoryType;

Discussion

The accessory view appears in the right side of the cell when the table view is in editing mode. The standard accessory views include the disclosure chevron; for a description of valid constants, see UITableViewCellAccessoryType. The default is UITableViewCellAccessoryNone. If a custom accessory view for editing mode is set through the editingAccessoryView property, the value of this property is ignored. If the cell is enabled and the accessory type is UITableViewCellAccessoryDetailDisclosureButton, the accessory view tracks touches and, when tapped, sends the delegate object a tableView:accessoryButtonTappedForRowWithIndexPath: message.

The accessory type cross-fades between normal and editing states if it set for both states; use the accessoryType property to set the accessory view for the cell during the table view’s normal state. If this property is not set for both states, the cell is animated to slide or out, as necessary.

See Also

Managing Accessory Views

accessoryType

The type of standard accessory view the cell should use (normal state).

accessoryView

A view that is used, typically as a control, on the right side of the cell (normal state).

editingAccessoryView

A view that is used typically as a control on the right side of the cell when it is in editing mode.

UITableViewCellAccessoryType

The type of standard accessory control used by a cell.