---
title: detailTextLabel
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uitableviewcell/detailtextlabel
---

# detailTextLabel

The secondary label of the table cell, if one exists.

## Declaration

```swift
var detailTextLabel: UILabel? { get }
```

## Mentioned in

Configuring the cells for your table

## Discussion

Discussion Holds the secondary (or detail) label of the cell. UITableViewCell adds an appropriate label when you create the cell in a style that supports secondary labels. If the style doesn’t support detail labels, nil returns. See UITableViewCell.CellStyle for descriptions of the main label in currently defined cell styles. This property is mutually exclusive with a content configuration. Setting a non-nil value for contentConfiguration resets this property to nil.

## See Also

### Related Documentation

- [init(style:reuseIdentifier:)](uikit/uitableviewcell/init(style:reuseidentifier:).md)

### Deprecated

- [textLabel](uikit/uitableviewcell/textlabel.md)
- [imageView](uikit/uitableviewcell/imageview.md)
