Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

UITableView height of a section

I have a UITableView that has 3 sections. My individual cells vary in height (collapse-expand). I need a way to figure out the height of each individual section, i.e. the sum of cell heights in each section. Preferably without calculating everything the tableView already has done each time I need it.

I there a way to deduce or access such a value?

like image 759
RickiG Avatar asked May 16 '11 18:05

RickiG


1 Answers

Did you look at -rectForSection: (and possibly also -rectForFooterInSection:)?

like image 106
Jonah Avatar answered Sep 29 '22 20:09

Jonah