Skip to main content
Learn how to integrate and customize CometChat’s call log components to display call history, participant details, and call recordings in your iOS app.

Overview

The CallLogDetailsVC module provides a tabbed interface for viewing details of past calls:
  • History — Chronological join/leave events with timestamps
  • Participants — Users who joined the call
  • Recordings — Links to cloud-hosted call recordings
This ensures transparency and auditability for both users and administrators.

Prerequisites

Before implementing call log details, ensure you have:
  • Completed Getting Started setup
  • CometChat UIKit v5+ installed
  • CometChatCallsSDK integrated
  • User logged in with CometChatUIKit.login()
  • Active internet connection

Components

Integration Steps

Step 1: Present Call Log Details Screen

Show the call log interface for a selected call:
This bundles history, participants, and recordings into a single UI flow. File reference: CallLogDetailsVC.swift

Step 2: Display Participants List

Populate the participants tab with the call’s members:
This provides an audit trail of who was present in the call. File reference: CallLogParticipantsVC.swift

Step 3: Show Call History

Render join/leave activities in chronological order:
This tracks user join/leave times for transparency. File references:

Step 4: List and Play Recordings

Provide playback links for any recorded calls:
This enables administrators and users to review call content (if recording is enabled). File references:

Customization Options

Styling

Customize colors, fonts, and spacing using CometChat’s theming system:

Filters

Use CallLogViewModel to filter by call type:

Empty States

Implement an EmptyStateView in CallLogHistoryVC for no-history scenarios:

Edge Cases

Error Handling

Additional Notes

  • Group Calls vs 1:1 Calls — Customize CallLogParticipantsVC display based on call type and participant roles
  • Metadata Display — Use CallLogDetailsHeaderView to show titles, call duration, and status icons

Feature Matrix

Sample App

Explore a full sample implementation

UIKit Source

Review the call log components in the UIKit library

Call Logs

Display call history list

Call Features

Overview of calling capabilities

Events

Handle call events