UITableViewCell Separators Flash and Disappear when size of cell changes

Originator:greg
Number:rdar://15432357 Date Originated:11/09/2013
Status:Open Resolved:
Product:iOS SDK Product Version:7.0.3
Classification:UI/Usability Reproducible:Always
 
Summary:
When selecting a UITableViewCell where the height of the cell can be dynamic, the top separator will flash above the section header of the cell's section, and then disappear completely. If the background color of the cell doesn't change, the cell will be indistinguishable from the cell above it.

Steps to Reproduce:
Run example program and select any row. Watch right above the table section header.

Or....
1. Create a UITableView with several sections
2. In heightForRowAtIndexPath, have the height change when the cell is selected.
3. In didSelectRowAtIndexPath, do [tableView beginUpdates]; [tableView endUpdates]; to animate the height change.
4. Run and select any cell

Expected Results:
No flash, top cell separator stays in place

Actual Results:
Cell separator moves right above the section header title and then disappears.

Version:
iOS 7.0.3.  Had been working prior to 7.0.3, at least 7.0. Confirmed on iPhone 5 in running apps and in simulator with test app.

Notes:

Configuration:


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