So I have two UILabels side by side in Storyboard. The second label should butt up against the right edge of the first one (trailing constraint of 1), but I also need the fi
label2 to label1. Choose Horizontal Spacing from the pop-up. Double click the constraint. Change the constant to 1.label1 a max width: Select label1. Go to the top menu bar, select Editor > Pin > Width. Double click the constraint. Change the relationship to <= and change the constant to the max width.label1 32 points from the left edge of the root view and 34 points from top layout guide.Note: Notice that I did not have to create constraints to make label1's width reflect its content size. The content sizing constraints are generated automatically.
