Xcode - Interface Builder - Ability to align bottom of image view with baseline of label

Originator:igeek1
Number:rdar://19356795 Date Originated:29-Dec-2014 11:17 AM
Status:Duplicate of 18742199 Resolved:06-Jan-2015 01:11 PM
Product:Developer Tools Product Version:Xcode 6.1.1 (6A2008a)
Classification:Enhancement Reproducible:Always
 
Summary:
In Interface Builder, you can use auto layout align the baselines of two labels, and the bottom of one label to the baseline of another, but not the bottom of an image to the baseline of a label.

Steps to Reproduce:
1. Drag two labels into an iOS xib or storyboard, and place them side by side.
2. Control-drag horizontally from one label to the other.
3. Choose Bottom from the list of alignment attributes.
4. Select the newly created constraint.
5. In the Attributes Inspector, change the Second Item attribute to Baseline.
6. Attempt to do the same thing, but with a UIImageView and a label instead of two labels.

Expected Results:
You are able to align a UIImageView's bottom to a UILabel's Baseline or First Baseline.

Actual Results:
The Baseline and First baseline attributes of the label are grayed out. The only way to do this (that I know of) is to do it in code at run time.

Version:
Xcode 6.1.1 (6A2008a)

Notes:


Configuration:


Attachments:

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!