I searched for this for many hours, but did not find a way to do this.
I have a UITableView for which UITableViewCells using AutomaticDimension for Height:
tableView.RowHeight = UITableView.AutomaticDimension; tableView.EstimatedRowHeight = 160f;
The problem is that I am trying to get the tableView ContentSize . It seems to be calculated based on EstimatedRowHeight instead of the current height of its rows. Suppose if there are 10 cells, then the return value of ContentSize is 160x10.
Then my question is, is there a way to do this.
Any help would be really appreciated ... I am using Xamarin.iOS, but Obj-C and Swift answers are certainly welcome :)
user5730871
source share