---
title: viewRespectsSystemMinimumLayoutMargins
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiviewcontroller/viewrespectssystemminimumlayoutmargins
---

# viewRespectsSystemMinimumLayoutMargins

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

## Declaration

```swift
var viewRespectsSystemMinimumLayoutMargins: Bool { get set }
```

## Mentioned in

Positioning content within layout margins

## Discussion

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.

## See Also

### Managing the view’s margins

- [Positioning content within layout margins](uikit/positioning-content-within-layout-margins.md)
- [systemMinimumLayoutMargins](uikit/uiviewcontroller/systemminimumlayoutmargins.md)
- [viewLayoutMarginsDidChange()](uikit/uiviewcontroller/viewlayoutmarginsdidchange().md)
