, . , , , , , . , , , ( ). :
2 , "" > "" > " ", ( 3- IB, ). . . Pin Align.
I found that getting the constraints you want is always possible, although this is a battle with the automatic constraints that Xcode adds, and sometimes a puzzle, to understand why they don't go from purple to blue. For example, moving the view directly after adding some user-defined constraint, and you will find that Xcode probably removed most of the constraints that you added, and again added automatic, even for other seemingly random views in the window, and not just that moved! Good luck.
source
share