viewRespectsSystemMinimumLayoutMargins
A Boolean value indicating whether the view controller’s view uses the system-defined minimum layout margins.
Declaration
var viewRespectsSystemMinimumLayoutMargins: Bool { get set }Mentioned in
Discussion
When the value of this property is true, 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 true.
Changing this property to false 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.