Instance Method

viewLayoutMarginsDidChange()

Called to notify the view controller that the layout margins of its root view changed.

Declaration

func viewLayoutMarginsDidChange()

Discussion

Use this method to update the position of content based on the new margin values.

See Also

Managing the View's Margins

Positioning Content Within Layout Margins

Position views so that they are not crowded by other content.

var viewRespectsSystemMinimumLayoutMargins: Bool

A Boolean value indicating whether the view controller's view uses the system-defined minimum layout margins.

var systemMinimumLayoutMargins: NSDirectionalEdgeInsets

The minimum layout margins for the view controller's root view.