Structure

UIRectEdge

Constants that specify the edges of a rectangle.

Declaration

struct UIRectEdge

Overview

You can add these constants together to specify multiple edges at the same time.

Topics

Edges

static var top: UIRectEdge

The top edge of the rectangle.

static var left: UIRectEdge

The left edge of the rectangle.

static var bottom: UIRectEdge

The bottom edge of the rectangle.

static var right: UIRectEdge

The right edge of the rectangle.

static var all: UIRectEdge

All edges of the rectangle.

Relationships

Conforms To

See Also

Configuring the View’s Layout Behavior

var edgesForExtendedLayout: UIRectEdge

The edges that you extend for your view controller.

var extendedLayoutIncludesOpaqueBars: Bool

A Boolean value indicating whether or not the extended layout includes opaque bars.

func viewWillLayoutSubviews()

Called to notify the view controller that its view is about to layout its subviews.

func viewDidLayoutSubviews()

Called to notify the view controller that its view has just laid out its subviews.

func updateViewConstraints()

Called when the view controller'€™s view needs to update its constraints.