0
votes

I have a TableView that its cell contains a second TableView (Nested TableView). Inner tableView shows comments that have variable cell height. Calculate this height with UITableView.automaticDimension. But main tableView cannot calculate it's cell height properly. Main tableView use UITableView.automaticDimension for calculating cell height. but innerTableView doesn't show in the main tableView.

1
don't do nesting, it's really hard, use single tableview with multiple section - SPatel
if possible: provide your expected ui - SPatel
My test project share in comments of next answer. - Mohammad Hossein
if use section instead of Nested TableView, my viewController will be Massive because my tableView has 19 sections! - Mohammad Hossein

1 Answers

-1
votes

My test project download link: dropbox.com/s/woieoi71t5kt66d/NestedTableViewTest%202.zip?dl=0