Cannot add new alignment constraints auto layout Xcode 6

cmii picture cmii · Jan 11, 2015 · Viewed 7.3k times · Source

Why I cannot add new alignment constraints on my scroll view ?

alignement

Answer

vacawama picture vacawama · Jan 12, 2015

In order to add alignment constraints, you must select two or more items before pressing the Align button. This is how Interface Builder knows which two objects to align. You can select the items by dragging a box around them, or you can hold down Shift and select the items.