---
title: cornerStyle
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uibutton/configuration-swift.struct/cornerstyle-swift.property
---

# cornerStyle

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

## Declaration

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

## Discussion

Discussion This property controls the behavior of the cornerRadius you set on the configuration background. The default corner style is UIButton.Configuration.CornerStyle.dynamic.

## See Also

### Configuring the button background

- [background](uikit/uibutton/configuration-swift.struct/background.md)
- [UIButton.Configuration.CornerStyle](uikit/uibutton/configuration-swift.struct/cornerstyle-swift.enum.md)
