Definition

CXStartCallAction is the CallKit action object that represents a request to start an outgoing call.

It is used when the user initiates a call from inside the app.


Core Concept

CXStartCallAction does not directly start a call.

Instead, it represents:

the app requesting the iOS telephony system to begin an outgoing call lifecycle.

The action must be:

  1. created
  2. wrapped in a CXTransaction
  3. submitted through CXCallController

Basic Flow

User taps call button
        ↓
Create CXStartCallAction
        ↓
Wrap inside CXTransaction
        ↓
Send through CXCallController
        ↓
System validates request
        ↓
CXProviderDelegate callback fires

Creating a Start Call Action

let action = CXStartCallAction(
    call: uuid,
    handle: handle
)

Parameters: