Contents

UILayoutSupport

A set of methods that provide layout support and access to layout anchors.

Declaration

@MainActor protocol UILayoutSupport : NSObjectProtocol

Overview

This protocol is implemented by the UIViewController properties topLayoutGuide and bottomLayoutGuide to support using Auto Layout with a view controller’s view. You can use layout guides as layout items in the NSLayoutConstraint factory methods.

Topics

Creating constraints using layout anchors

Performing layout calculations

See Also

Constraints