UITableView with estimated row height has wrong contentSize/contentOffset after pop

Originator:exsephiroth87
Number:rdar://18062834 Date Originated:19/08/2014
Status:Open Resolved:
Product:iOS SDK Product Version:8.0
Classification:UI/Usability Reproducible:Always
 
Summary:
When using a UITableView with an estimated row height different than the actual row height, after having scrolled to the last row, if you then push a different view controller on the stack, and go back, the table view will automatically get a wrong contentSize/contentOffset

Sample project is attached

Steps to Reproduce:
1. Populate table view with cells and provide and estimated row height different than the actual height
2. scroll to the last row
3. push a new view controller (in the sample project simply tap a cell)
4. go back


Expected Results:
The table view should be as it was left before pushing

Actual Results:
The table view has a wrong offset/size

Version:
iOS8.0

Notes:


Configuration:
Any iPhone/iPad

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