<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CarPlay",
  "identifier" : "/documentation/CarPlay/CPNavigationAlert/actions",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "CarPlay"
    ],
    "preciseIdentifier" : "c:objc(cs)CPNavigationAlert(py)actions"
  },
  "title" : "actions"
}
-->

# actions

The array of actions associated with this navigation alert.

```
var actions: [CPAlertAction] { get }
```

## Discussion

If the alert was created with the older @c primaryAction / @c secondaryAction initializer,
this property returns those actions as an array for backward compatibility.

\note CPAlertActionStyleCancel actions are rendered as standard labeled buttons
in the primary action row.

---

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)