<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIStackView/isLayoutMarginsRelativeArrangement",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIStackView(py)layoutMarginsRelativeArrangement"
  },
  "title" : "isLayoutMarginsRelativeArrangement"
}
-->

# isLayoutMarginsRelativeArrangement

A Boolean value that determines whether the stack view lays out its arranged views relative to its layout margins.

```
var isLayoutMarginsRelativeArrangement: Bool { get set }
```

## Discussion

If <doc://com.apple.documentation/documentation/Swift/true>, the stack view will layout its arranged views relative to its layout margins. If <doc://com.apple.documentation/documentation/Swift/false>, it lays out the arranged views relative to its bounds. The default is <doc://com.apple.documentation/documentation/Swift/false>.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)