Instance Property

layoutMarginsGuide

A layout guide representing the view’s margins.

Declaration

var layoutMarginsGuide: UILayoutGuide { get }

Discussion

Use this layout guide’s anchors to create constraints with the view’s margin.

See Also

Working with Layout Guides

func addLayoutGuide(UILayoutGuide)

Adds the specified layout guide to the view.

var layoutGuides: [UILayoutGuide]

The array of layout guide objects owned by this view.

var readableContentGuide: UILayoutGuide

A layout guide representing an area with a readable width within the view.

func removeLayoutGuide(UILayoutGuide)

Removes the specified layout guide from the view.