Grouped UITableView section header/footer heights don't match rects

Originator:heath.borders
Number:rdar://11768316 Date Originated:28-Jun-2012 08:37 AM
Status:Open Resolved:
Product:iPad SDK Product Version:Xcode 4.3.3
Classification:Serious Bug Reproducible:Always
 
28-Jun-2012 08:37 AM Heath Borders:
Summary:
A grouped UITableView's sectionHeaderHeight and sectionFooterHeight don't match the height of the rect returned from -[UITableView rectForHeaderInSection:] and -[UITableView rectForFooterInSection:], respectively.

The rects report the true height, which the sectionHeaderHeight and sectionFooterHeight properties report a much smaller height.

A plain-styled UITableView's sectionHeaderHeight and sectionFooterHeight match the height of the rect returned from -[UITableView rectForHeaderInSection:] and -[UITableView rectForFooterInSection:], respectively.

Steps to Reproduce:
Run the attached project, observe the output.  The grouped UITableView's sectionHeaderHeight is 10.0 while the rect's height is 34.0. Its sectionFooterHeight is 10.0 while the rect's height is 31.

Expected Results:
The sectionHeaderHeight and sectionFooterHeight properties should match the height of  -[UITableView rectForHeaderInSection:] and -[UITableView rectForFooterInSection:].

Actual Results:
The grouped UITableView's sectionHeaderHeight is 10.0 while the rect's height is 34.0. Its sectionFooterHeight is 10.0 while the rect's height is 31.

Regression:

Notes:

28-Jun-2012 08:38 AM Heath Borders:
'UITableViewSectionHeaderHeightBug.zip' was successfully uploaded

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!