Setting UITableView's tableHeaderFooter/View with a fractional height causes gutter after tableHeaderView

Originator:tomabuct
Number:rdar://16909794 Date Originated:14-May-2014 01:56 AM
Status:Open Resolved:
Product:iOS SDK Product Version:iOS 7.1 (11D167)
Classification:Other Bug Reproducible:Always
 
Summary:
Setting a UITableView's tableHeader/FooterView to a fractional height (say, 0.5) causes . Each time a UIView with the fractional height is set as a UITableView's tableHeaderView, a gutter between the tableHeaderView and the first section header increases in height.

Steps to Reproduce:
1. Create a UITableView
2. Create a UIView with 0.5 height
3. Set the UIView as the UITableView's tableHeaderView
4. Re-set it as the UITableView's tableHeaderView

Expected Results:
No gutter should form between the tableHeaderView and the first section header.

Actual Results:
A gutter forms between the tableHeaderView and the first section header.

Version:
iOS 7.1/11D167

Notes:


Configuration:
iPhone Retina 4-inch Simulator  


Attachments:
'TableViewHeaderFractionalHeightBug.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!