Instance Property

contentView

The content view of the cell object.

Declaration

@property(nonatomic, readonly, strong) UIView *contentView;

Discussion

The content view of a UITableViewCell object is the default superview for content displayed by the cell. If you want to customize cells by simply adding additional views, you should add them to the content view so they will be positioned appropriately as the cell transitions into and out of editing mode.

See Also

Accessing Views of the Cell Object

backgroundView

The view used as the background of the cell.

selectedBackgroundView

The view used as the background of the cell when it is selected.

multipleSelectionBackgroundView

The background view to use for a selected cell when the table view allows multiple row selections.