AutoLayout has two core concepts:
Reference
Constraints
When the option to use Auto layout is selected, there are two more things left: Top layout Guide and Bottom layout guide
To represent the above and below ranges, click Top Layout Guide to find a line below the status bar. When you add a constraint, it is relative to the line.
How to delete a constraint: Select a constraint and press the DELETE key to
In the event of a warning, you can click the top button to fix it with update frames.
A second reference appears when the control to be constrained is below the top layout guide, and does not appear if the control's position exceeds the reference.
When adding a constraint, the default is to select the constrain to margins option so that when the left side wants to reach the edge, the value should be written as a negative number.
Or remove this option and fill in the value 0.
Reference: When you want a control to reference the position and size of another control, select more than two controls so that you can set
A reference to the selected control.
Reference not finished .... Continue tomorrow.
AutoLayout Automatic Layout