Contents

editingAccessoryView

The view to use on the right side of the cell, typically as a control, in the table view’s editing state.

Declaration

var editingAccessoryView: UIView? { get set }

Discussion

If the value of this property is not nil, the UITableViewCell class uses the given view for the accessory view in the table view’s editing state; it ignores the value of the editingAccessoryType property. The provided accessory view can be a framework-provided control or label or a custom view. The accessory view appears in the right side of the cell.

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

Related Documentation

Managing accessory views