This protocol is implemented by the UIViewController properties topLayoutGuide and bottomLayoutGuide 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 NSLayoutConstraint factory methods.
On This Page
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.
var bottomAnchor: NSLayoutYAxisAnchor
A layout anchor representing the guide’s bottom edge.
var heightAnchor: NSLayoutDimension
A layout anchor representing the guide’s height.
var topAnchor: NSLayoutYAxisAnchor
A layout anchor representing the guide’s top edge.