<!--
{
  "availability" : [
    "iOS: 3.0.0 - 27.0.0",
    "iPadOS: 3.0.0 - 27.0.0",
    "macCatalyst: 13.1.0 - 27.0.0",
    "tvOS: -",
    "visionOS: 1.0.0 - 27.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UITableViewCell/detailTextLabel",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UITableViewCell(py)detailTextLabel"
  },
  "title" : "detailTextLabel"
}
-->

# detailTextLabel

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

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

## 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`](/documentation/UIKit/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`](/documentation/UIKit/UITableViewCell/contentConfiguration-9ktox) resets this property to `nil`.

## See Also

[`init(style:reuseIdentifier:)`](/documentation/UIKit/UITableViewCell/init(style:reuseIdentifier:))

Initializes a table cell with a style and a reuse identifier and returns it to the caller.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)