We have the following UI in Xcode using IB. Essentially there is a TableView. The TableView has four rows inside the Content View - these are not table rows.
-- TableView
-- StackView
-- DateLabel (Row 1)
-- StackView - Time and Category (Row 2)
-- Timelabel
-- Category label
-- CategoryDetailLabel (Row 3)
-- MoreLabel (Row 4)
We want the UILabel (CategoryDetailLabel) in Row 3 to expand dynamically based on the content. So based on documentation here we turned on the "Row Height" and "Estimated Height" on the TabelView to be automatic.
But Unfortunately only one row (line) gets displayed
When we change the row height on tableview to 150 we get all the rows to display
But the CategoryDetaillabel does not expand its height. The content gets truncated.
We have set the "Lines" of CategoryDetailLabel to 0. How do we fix this using IB.