Back to Developer Roadmap

Auto layout

src/data/roadmaps/ios/content/[email protected]

4.0633 B
Original Source

Auto layout

Auto Layout dynamically calculates the size and position of all the views in your view hierarchy, based on constraints placed on those views. For example, you can constrain a button so that it is horizontally centered with an Image view and so that the button’s top edge always remains 8 points below the image’s bottom. If the image view’s size or position changes, the button’s position automatically adjusts to match.

Learn more from the following resources:

@official@Understanding Auto Layout