I have a UITableViewController created in storyboard and I have set the tableView to display in grouped mode.
I am trying to use TableView's automatic cell height calculation by setting
self.tableView.rowHeight = UITableViewAutomaticDimension;
self.tableView.estimatedRowHeight = 50;
and I am not overriding heightForRowAtIndexPath.
The cells I am using are either Basic or subtitlte type (i.e no custom cells) and I have enabled multiline text for titleLabel and subtitleLabel
by setting numberOfLines to 0
However, the cell always display with height = 50 and it appears that the text labels are extending above and below the contentView to accomodate the multiline text.
Things work perfectly well if I simply make the tableView to display in plain mode intead of grouped.
So my question is 0 Does UITableViewAutomaticDimension work with grouped UITableView ?