<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UICornerConfiguration-swift.struct/uniformTopRadius(_:bottomLeftRadius:bottomRightRadius:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "s:5UIKit21UICornerConfigurationV16uniformTopRadius_010bottomLeftF00g5RightF0AcA0bF0V_AHSgAItFZ"
  },
  "title" : "uniformTopRadius(_:bottomLeftRadius:bottomRightRadius:)"
}
-->

# uniformTopRadius(_:bottomLeftRadius:bottomRightRadius:)

A configuration that applies the top radius you provide to the top corners, with optional independent radii for the bottom corners.

```
static func uniformTopRadius(_ topRadius: UICornerRadius, bottomLeftRadius: UICornerRadius? = nil, bottomRightRadius: UICornerRadius? = nil) -> UICornerConfiguration
```

## Parameters

`topRadius`

A [`UICornerRadius`](/documentation/UIKit/UICornerRadius-swift.struct) that represents the radius to use for the top-left and top-right corners.

`bottomLeftRadius`

An optional [`UICornerRadius`](/documentation/UIKit/UICornerRadius-swift.struct) that represents the radius to use for the bottom-left corner.

`bottomRightRadius`

An optional [`UICornerRadius`](/documentation/UIKit/UICornerRadius-swift.struct) that represents the radius to use for the bottom-right corner.

---

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)