---
title: handler
framework: carplay
role: symbol
role_heading: Instance Property
path: carplay/cpalertaction/handler
---

# handler

The closure that CarPlay invokes after the user taps the action button.

## Declaration

```swift
var handler: CPAlertActionHandler { get }
```

## See Also

### Getting the Action Handler

- [CPAlertActionHandler](carplay/cpalertactionhandler.md)
