---
title: "bar(onEdge:)"
framework: uikit
role: symbol
role_heading: Type Method
platforms: [iOS 27.2+, iPadOS 27.2+, Mac Catalyst 27.2+, tvOS 27.2+, visionOS 27.2+]
path: "uikit/uiview/layoutregion/bar(onedge:)-4937k"
---

# bar(onEdge:)

## Declaration

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