systemLayoutSizeFittingSize does not return valid size 100% of the time.

Originator:carpeaqua
Number:rdar://15359106 Date Originated:10/30/13
Status:Open Resolved:
Product:iOS SDK Product Version:7.0
Classification: Reproducible:Yes
 
Summary:
I'm trying to use systemLayoutSizeFittingSize to get the height of a table cell row, but find that about 10-20% of the time it returns a value that is too small.

Here's a screenshot exhibiting the image clipping that happens from the invalid size returned.
http://cloud.carpeaqua.com/image/0B43012g0217


Steps to Reproduce:
I have attached a sample problem that exhibits the issue. Run it and scroll. You should notice that the thumbnail of the map image is clipped in some of those cells (if you don't see it, relaunch the app and try again)

Expected Results:
The value from systemLayoutSizeFittingSize should be accurate.

Actual Results:

http://cloud.carpeaqua.com/image/0B43012g0217

Version:
7.0.3

Notes:


Configuration:


Attachments:
Sample is available at https://github.com/justin/AutoLayoutZen/tree/master/8.%20Dynamic%20Table%20Cell%20Heights

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!