---
title: contentView
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uitableviewcell/contentview
---

# contentView

The content view of the cell object.

## Declaration

```swift
var contentView: UIView { get }
```

## Discussion

Discussion The content view of a UITableViewCell object is the default superview for content that the cell displays. If you want to customize cells by simply adding additional views, you should add them to the content view so they position appropriately as the cell transitions in to and out of editing mode.

## See Also

### Related Documentation

- [backgroundView](uikit/uitableviewcell/backgroundview.md)

### Managing the content

- [defaultContentConfiguration()](uikit/uitableviewcell/defaultcontentconfiguration().md)
- [contentConfiguration](uikit/uitableviewcell/contentconfiguration-9ktox.md)
- [automaticallyUpdatesContentConfiguration](uikit/uitableviewcell/automaticallyupdatescontentconfiguration.md)
