-[UITableView tableView:estimatedHeightForRowAtIndexPath:] make the app crash

Originator:pitiphong.ph
Number:rdar://15729686 Date Originated:28-Dec-2013 03:36 PM
Status:Open Resolved:
Product:iOS SDK Product Version:7.0
Classification:Crash/Hang/Data Loss Reproducible:Always
 
Summary:
-[UITableView tableView:estimatedHeightForRowAtIndexPath:] make the app crash

Steps to Reproduce:
1. Run the sample app that is attached to this radar
2. Scroll to the last row of the table view
3. Press the add button

Expected Results:
Table view is insert the new rows and won't crash

Actual Results:
App Crashes.

Regression:


Notes:
If we remove the -[UITableView tableView:estimatedHeightForRowAtIndexPath:] method. The app won't crash.

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!