Skip to main content

Overview

Add one-on-one and group audio/video calling to your iOS app. Once integrated, call buttons automatically appear in chat headers, and incoming/outgoing call screens are handled for you.

Quick Setup

1

Add Dependencies

Add to your Podfile:
Run:
2

Add Permissions

Add to Info.plist:
3

Initialize CometChat

In SceneDelegate.swift:
That’s it! Call buttons now appear in CometChatMessages header automatically.

Production-Ready Implementation

Complete app with calling, chat, and call history:

Initiate Calls Programmatically

Voice Call to User

Video Call to User

Group Call


Custom Call Buttons

Add call buttons anywhere in your app:

Using CometChatCallButtons Component

The built-in call buttons component:

Handle Incoming Calls

Incoming calls are handled automatically. For custom handling:

Calling Components Reference

CometChatCallButtons

Renders voice and video call buttons.

CometChatIncomingCall

Displays incoming call screen with accept/reject options.

CometChatOutgoingCall

Displays outgoing call screen while waiting for answer.

CometChatCallLogs

Displays call history. See Call Logs for full documentation.