to correctly embed a UITableView into a UIScrollView I need to know the exact height of the UITableView. I added the count of rows * rowHeight and the count of section headers * sectionTitleHeight, but this is still roughly 50px off the point. I guess it is caused by the empty table header and footer, but I can’t find any information about how high they are…
Did I miss something in the UITableView class ref?
Thanks for any tips,
nobi
You can get the
UITableView‘sframevariable and check itssizemember variable to see the exact size of yourUITableViewelement.