<!--
{
  "availability" : [
    "iOS: 27.2.0 -",
    "iPadOS: 27.2.0 -",
    "macCatalyst: -",
    "tvOS: 27.2.0 -",
    "visionOS: 27.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIView/LayoutRegion/bar(onEdge:)-52kes",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "s:So6UIViewC5UIKitE12LayoutRegionV3bar6onEdgeAESo017NSDirectionalRectG0V_tFZ"
  },
  "title" : "bar(onEdge:)"
}
-->

# bar(onEdge:)

```
static func bar(onEdge edge: NSDirectionalRectEdge) -> UIView.LayoutRegion
```

---

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)