Layout using springs&struts is broken in table view cells

Originator:mail
Number:rdar://18425774 Date Originated:23-09-2014
Status:Open Resolved:
Product:iOS SDK Product Version:8.0
Classification:Serious Bug Reproducible:Always
 
Summary:
Using springs&struts (as opposed to Auto Layout) to resize UILabels in table view cells results in labels that become much too wide.

Steps to Reproduce:
1. Create a new app with a table view controller.
2. Turn off Size Classes and Auto Layout in the storyboard.
2. In the storyboard, drag a label into the prototype cell.
3. Set the springs&struts so that the label resizes with the cell.
4. Run the app.

Expected Results:
The label should fill up the entire width of the cell (minus padding), regardless of device screen size.

Actual Results:
The label is much wider than the screen.

Version:
iOS 8.0, Xcode 6.0.1

Notes:
Also goes wrong for other UI components such as UITextView.

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!