Instance Property

detailTextLabel

Returns the secondary label of the table cell if one exists.

Declaration

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 is returned. See UITableViewCell.CellStyle for descriptions of the main label in currently defined cell styles.

See Also

Managing the Predefined Content

var textLabel: UILabel?

Returns the label used for the main textual content of the table cell.

var imageView: UIImageView?

Returns the image view of the table cell.