detailTextLabel
A detail text label for the view.
Declaration
var detailTextLabel: UILabel? { get }Discussion
This property is only for tables configured with UITableView.Style.grouped.
Accessing the value in this property causes the view to create a default label for displaying a detail text string. If you are managing the content of the view yourself by adding subviews to the contentView property, you should not access this property.
The label sizes to fit the content view area in the best way possible according to the size of the string. Its size also adjusts depending on whether there is a primary text label present.
This property is mutually exclusive with a content configuration. Setting a non-nil value for contentConfiguration resets this property to nil.