Instance Property


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


@property(nonatomic) BOOL viewRespectsSystemMinimumLayoutMargins;


When the value of this property is YES, the root view's layout margins are guaranteed to be no smaller than the values in the systemMinimumLayoutMargins property. The default value of this property is YES.

Changing this property to NO causes the view to obtain its margins solely from its directionalLayoutMargins property. Setting the margins in that property to 0 allows you to eliminate the view's margins altogether.

See Also

Managing the View's Margins

Positioning Content Within Layout Margins

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


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

- viewLayoutMarginsDidChange

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