Protocol

UILayout​Support

This protocol is implemented by the UIView​Controller properties top​Layout​Guide and bottom​Layout​Guide to support using Auto Layout with a view controller’s view, starting in iOS 7. You can use layout guides as layout items in the NSLayout​Constraint factory methods.

Symbols

Layout Support

var length:​ CGFloat

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

Creating Constraints Using Layout Anchors

var bottom​Anchor:​ NSLayout​YAxis​Anchor

A layout anchor representing the guide’s bottom edge.

var height​Anchor:​ NSLayout​Dimension

A layout anchor representing the guide’s height.

var top​Anchor:​ NSLayout​YAxis​Anchor

A layout anchor representing the guide’s top edge.

Relationships

Inherits From