<!--
{
  "availability" : [
    "iOS: 12.0.0 -",
    "iPadOS: 12.0.0 -",
    "macCatalyst: 13.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CarPlay",
  "identifier" : "/documentation/CarPlay/CPAlertAction/Style-swift.enum/cancel",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "CarPlay"
    ],
    "preciseIdentifier" : "c:@E@CPAlertActionStyle@CPAlertActionStyleCancel"
  },
  "title" : "CPAlertAction.Style.cancel"
}
-->

# CPAlertAction.Style.cancel

The display style indicating that the action leaves data unchanged.

```
case cancel
```

## Discussion

Use this style when providing a cancel action on the alert.

---

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)