<!--
{
  "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/textLabel",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UITableViewCell(py)textLabel"
  },
  "title" : "textLabel"
}
-->

# textLabel

The label to use for the main textual content of the table cell.

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

## Discussion

This property holds the main label of the cell. [`UITableViewCell`](/documentation/UIKit/UITableViewCell) adds an appropriate label when you create the cell in a particular cell style. 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)