Updating table header causes overlap

Originator:davbeck
Number:rdar://14929794 Date Originated:06-Sep-2013 09:51 AM
Status:Open Resolved:
Product:iOS SDK Product Version:iOS 6 base SDK, running on iOS 7.
Classification:Serious Bug Reproducible:Always
 
Summary:
In certain circumstances, changing a UITableView table header to a new size will cause the old header to be placed above the new one.

Steps to Reproduce:
See example project.

1. Set the table header.
2. Start animating the table by inserting a row.
3. Before the animation completes, set the table header to something else.

Expected Results:
No matter when the table header is set, it should update the same. Further, the old header should be removed completely.

Actual Results:
The first header is placed over the new header. The table uses the height of the new header for layout.

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!