Contents

Layout

Specify the size and position your view relative to other nearby views using rules that update your view hierarchy automatically.

Topics

Respecting the View’s Safe Area

Managing the Content Layout Direction

Opting In to Auto Layout

Creating Constraints Using Layout Anchors

Managing the View’s Constraints

Measuring in Auto Layout

Managing Layout Guides

Aligning Views with Auto Layout

Triggering Auto Layout

Enabling and Disabling Constraints

Debugging Auto Layout

Resizing Subviews

See Also

Managing the view’s content