---
title: "addAction(_:)"
framework: callkit
role: symbol
role_heading: Instance Method
path: "callkit/cxtransaction/addaction(_:)"
---

# addAction(_:)

Adds the specified action to the transaction.

## Declaration

```swift
func addAction(_ action: CXAction)
```

## Parameters

- `action`: The action to be added to the transaction.
