The automatic layout allows you to create a set of restrictions that determine how user interface elements are displayed on the screen. Instead of using the standard โspring and strutโ positioning method, Auto Layout allows these elements to move and move depending on the priority list of rules - I think, โthe left side of one button should always be at a distance of 30 from the right side of the other button.
More details.
source share