<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIAlertAction/Style-swift.enum",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@E@UIAlertActionStyle"
  },
  "title" : "UIAlertAction.Style"
}
-->

# UIAlertAction.Style

Styles to apply to action buttons in an alert.

```
enum Style
```

## Topics

### Constants

[`UIAlertAction.Style.default`](/documentation/UIKit/UIAlertAction/Style-swift.enum/default)

Apply the default style to the action’s button.

[`UIAlertAction.Style.cancel`](/documentation/UIKit/UIAlertAction/Style-swift.enum/cancel)

Apply a style that indicates the action cancels the operation and leaves things unchanged.

[`UIAlertAction.Style.destructive`](/documentation/UIKit/UIAlertAction/Style-swift.enum/destructive)

Apply a style that indicates the action might change or delete data.



---

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)