Overview
TheCallLogDetailsVC 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
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:CallLogDetailsVC.swift
Step 2: Display Participants List
Populate the participants tab with the call’s members:CallLogParticipantsVC.swift
Step 3: Show Call History
Render join/leave activities in chronological order:Step 4: List and Play Recordings
Provide playback links for any recorded calls:Customization Options
Styling
Customize colors, fonts, and spacing using CometChat’s theming system:Filters
UseCallLogViewModel to filter by call type:
Empty States
Implement anEmptyStateView in CallLogHistoryVC for no-history scenarios:
Edge Cases
Error Handling
Additional Notes
- Group Calls vs 1:1 Calls — Customize
CallLogParticipantsVCdisplay based on call type and participant roles - Metadata Display — Use
CallLogDetailsHeaderViewto show titles, call duration, and status icons
Feature Matrix
Related Components
- Call Logs - Display call log list
- Call Features - Overview of calling capabilities
- Ongoing Call - Active call interface
Sample App
Explore a full sample implementation
UIKit Source
Review the call log components in the UIKit library
Related Guides
Call Logs
Display call history list
Call Features
Overview of calling capabilities
Events
Handle call events