Link Search Menu Expand Document

LayoutSupport

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

public protocol LayoutSupport 

Requirements

length

Provides the length, in points, of the portion of the view controller’s view that is overlaid by translucent or transparent bars.

var length: Double 

bottomAnchor

A layout anchor representing the guide’s bottom edge.

var bottomAnchor: LayoutYAxisAnchor 

heightAnchor

A layout anchor repreenting the guide’s height.

var heightAnchor: LayoutDimension 

topAnchor

A layout anchor representing the guide’s top edge.

var topAnchor: LayoutYAxisAnchor