<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: -",
    "tvOS: 15.0.0 -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIButton/Configuration-swift.struct/cornerStyle-swift.property",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "s:So8UIButtonC5UIKitE13ConfigurationV11cornerStyleAE06CornerE0Ovp"
  },
  "title" : "cornerStyle"
}
-->

# cornerStyle

The button style that controls the display behavior of the background corner radius.

```
var cornerStyle: UIButton.Configuration.CornerStyle { get set }
```

## Discussion

This property controls the behavior of the [`cornerRadius`](/documentation/UIKit/UIBackgroundConfiguration-swift.struct/cornerRadius) you set on the configuration background. The default corner style is [`UIButton.Configuration.CornerStyle.dynamic`](/documentation/UIKit/UIButton/Configuration-swift.struct/CornerStyle-swift.enum/dynamic).

---

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)