<!--
{
  "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/corners(radius:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "s:5UIKit21UICornerConfigurationV7corners6radiusAcA0B6RadiusV_tFZ"
  },
  "title" : "corners(radius:)"
}
-->

# corners(radius:)

A configuration that applies the given radius independently to all corners.

```
static func corners(radius: UICornerRadius) -> UICornerConfiguration
```

## Parameters

`radius`

A [`UICornerRadius`](/documentation/UIKit/UICornerRadius-swift.struct) that represents a radius to apply to each corner.

## Discussion

Use a container concentric radius to allow each individual corner to resolve to different radii.

---

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)