The tableHeaderView of a UITableView is incorrectly removed from the view hierarchy

Originator:calvin
Number:rdar://15102166 Date Originated:27-Sep-2013 02:45 PM
Status:Insufficient Information Resolved:No
Product:iOS Product Version:7.0 (11A465)
Classification:UI/Usability Reproducible:Yes
 
During viewDidLoad I set the tableHeaderView property of a UITableView. When the table view is updated after being displayed the header view disappears.

After the view disappears I have verified that:
1) I still have a strong hold on the header view UIView object
2) the tableHeaderView property still points to the original UIView object
3) the header view UIView object has nil as it's superview

Steps to Reproduce:
Create a UITableView with a valid header and have it displayed. Update the table view after it has been displayed.

Expected Results:
The tableHeaderView object should not be removed from the view hierarchy.

Comments

I cannot reproduce this outside of the project it was discovered in and as a result Apple have marked it with 'Insufficient Information' and closed the bug.


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!