The golden rule of Auto Layout comes down to Parents vs. Children:
• The Parent frame dictates the layout structure.
• The Children layers decide how they behave inside that frame (Hug, Fill, Fixed).
Master this relationship, and your layouts will stop breaking.