> ## Documentation Index
> Fetch the complete documentation index at: https://www.cometchat.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# iOS UI Kit v6 — LLM docs index

> Machine-readable, iOS-v6-scoped index of every UI Kit page as a clean .md twin. Built for AI coding agents; kept out of the human sidebar.

# iOS UI Kit v6 — LLM docs index (Latest)

> Stateful, drop-in iOS chat and calling UI. One Swift package,
> `https://github.com/cometchat/cometchat-uikit-ios.git` from `6.0.0-beta.1` (SPM only, iOS 18,
> Swift 6), with **two toolkits — add exactly one product**: `CometChatSwiftUI` (SwiftUI) or
> `CometChatUIKit` (native UIKit). Both sit on `CometChatCore` and the
> iOS Chat SDK 4.x (`CometChatSDK`). This page
> is an **iOS-v6-only** routing index for AI agents.

## How to use this index

Each link points to the docs page; **append `.md`** to its URL to fetch the clean Markdown twin
(verbatim code and API names). Pick the page for the intent, then read the API there.

* Convention: any docs page URL + `.md` → raw Markdown.
* Fallback: if a `.md` twin 404s, fetch the same URL **without** `.md`. Never answer APIs from
  memory.
* **Two toolkits, one docs tree**: nearly every page carries a `SwiftUI` tab and a `UIKit` tab —
  read the tab matching the app. The toolkits spell options differently on purpose (SwiftUI
  `hideBackIcon`, `trailingView`; UIKit `hideBackButton`, `trailView`); never mix them.
* **Version trap**: `/ui-kit/ios/v6/<page>` is v6. `/ui-kit/ios/<page>` is the legacy v5
  `CometChatUIKitSwift` (CocoaPods/xcframework) tree — never read it for a v6 build.

## Hot path — usually no fetch needed

* Package: `.package(url: "https://github.com/cometchat/cometchat-uikit-ios.git", from: "6.0.0-beta.1")`,
  product `CometChatSwiftUI` **or** `CometChatUIKit`.
* Set-up: `try await CometChatSession.initialize(appID:region:)` then
  `try await CometChatSession.login(uid:authKey:)` (development) or `login(authToken:)`. Either
  toolkit's import brings `CometChatSession` (both re-export `CometChatCore`).
* The Kit has **no chat screen**: compose `CometChatMessageHeader` + `CometChatMessageList` +
  `CometChatMessageComposer` given a `User` or `Group`, and open it from `onItemClick`.
* Setup (pick the toolkit): [SwiftUI](https://www.cometchat.com/docs/ui-kit/ios/v6/getting-started-swiftui.md) · [UIKit](https://www.cometchat.com/docs/ui-kit/ios/v6/getting-started-uikit.md)
* Core drop-ins: [Conversations](https://www.cometchat.com/docs/ui-kit/ios/v6/conversations.md) · [Conversation + Message View](https://www.cometchat.com/docs/ui-kit/ios/v6/conversation-message-view.md) · [Message Header](https://www.cometchat.com/docs/ui-kit/ios/v6/message-header.md) · [Message List](https://www.cometchat.com/docs/ui-kit/ios/v6/message-list.md) · [Message Composer](https://www.cometchat.com/docs/ui-kit/ios/v6/message-composer.md)

## Getting started / integration

* [Overview — choosing a product](https://www.cometchat.com/docs/ui-kit/ios/v6/overview.md)
* [Getting Started](https://www.cometchat.com/docs/ui-kit/ios/v6/getting-started.md)
* [SwiftUI Integration](https://www.cometchat.com/docs/ui-kit/ios/v6/getting-started-swiftui.md)
* [UIKit Integration](https://www.cometchat.com/docs/ui-kit/ios/v6/getting-started-uikit.md)
* [One-to-One / Group Chat recipe](https://www.cometchat.com/docs/ui-kit/ios/v6/one-to-one-chat.md)
* [Tab-Based Chat recipe](https://www.cometchat.com/docs/ui-kit/ios/v6/tab-based-chat.md)
* [Calling Integration](https://www.cometchat.com/docs/ui-kit/ios/v6/calling-integration.md)
* [Architecture & Data Flow](https://www.cometchat.com/docs/ui-kit/ios/v6/architecture-data-flow.md)
* [Components Overview](https://www.cometchat.com/docs/ui-kit/ios/v6/components-overview.md)

## Core & configuration

* [Core Features](https://www.cometchat.com/docs/ui-kit/ios/v6/core-features.md)
* [Extensions](https://www.cometchat.com/docs/ui-kit/ios/v6/extensions.md)
* [Smart / AI Features](https://www.cometchat.com/docs/ui-kit/ios/v6/ai-features.md)
* [Call Features](https://www.cometchat.com/docs/ui-kit/ios/v6/call-features.md)
* [Methods (reference)](https://www.cometchat.com/docs/ui-kit/ios/v6/methods.md)
* [Events (reference)](https://www.cometchat.com/docs/ui-kit/ios/v6/events.md)
* [Troubleshooting](https://www.cometchat.com/docs/ui-kit/ios/v6/troubleshooting.md)

## Theming

* [Theming — Introduction](https://www.cometchat.com/docs/ui-kit/ios/v6/theming.md)
* [Color Resources](https://www.cometchat.com/docs/ui-kit/ios/v6/color-resources.md)
* [Component Styling](https://www.cometchat.com/docs/ui-kit/ios/v6/component-styling.md)
* [Message Bubble Styling](https://www.cometchat.com/docs/ui-kit/ios/v6/message-bubble-styling.md)
* [Localization](https://www.cometchat.com/docs/ui-kit/ios/v6/localize.md)
* [Sound Manager](https://www.cometchat.com/docs/ui-kit/ios/v6/sound-manager.md)

## Customization

* [Customization — Overview](https://www.cometchat.com/docs/ui-kit/ios/v6/customization-overview.md)
* [View Slots](https://www.cometchat.com/docs/ui-kit/ios/v6/customization-view-slots.md)
* [Styles](https://www.cometchat.com/docs/ui-kit/ios/v6/customization-styles.md)
* [Stores & Data](https://www.cometchat.com/docs/ui-kit/ios/v6/customization-store-data.md)
* [Events](https://www.cometchat.com/docs/ui-kit/ios/v6/customization-events.md)
* [State Views](https://www.cometchat.com/docs/ui-kit/ios/v6/customization-state-views.md)
* [Text Formatters](https://www.cometchat.com/docs/ui-kit/ios/v6/customization-text-formatters.md)
* [Menu Options](https://www.cometchat.com/docs/ui-kit/ios/v6/customization-menu-options.md)

## Components — conversations & lists

* [Conversations](https://www.cometchat.com/docs/ui-kit/ios/v6/conversations.md)
* [Users](https://www.cometchat.com/docs/ui-kit/ios/v6/users.md)
* [Groups](https://www.cometchat.com/docs/ui-kit/ios/v6/groups.md)
* [Group Members](https://www.cometchat.com/docs/ui-kit/ios/v6/group-members.md)
* [Search](https://www.cometchat.com/docs/ui-kit/ios/v6/search.md)

## Components — messages

* [Message Header](https://www.cometchat.com/docs/ui-kit/ios/v6/message-header.md)
* [Message List](https://www.cometchat.com/docs/ui-kit/ios/v6/message-list.md)
* [Message Composer](https://www.cometchat.com/docs/ui-kit/ios/v6/message-composer.md)
* [Message Template](https://www.cometchat.com/docs/ui-kit/ios/v6/message-template.md)
* [Threaded Messages Header](https://www.cometchat.com/docs/ui-kit/ios/v6/thread-header.md)
* [Pinned Messages](https://www.cometchat.com/docs/ui-kit/ios/v6/pinned-messages.md)
* [Saved Messages](https://www.cometchat.com/docs/ui-kit/ios/v6/saved-messages.md)
* [Create Poll](https://www.cometchat.com/docs/ui-kit/ios/v6/create-poll.md) · [Sticker Keyboard](https://www.cometchat.com/docs/ui-kit/ios/v6/sticker-keyboard.md) · [Emoji Keyboard](https://www.cometchat.com/docs/ui-kit/ios/v6/emoji-keyboard.md) · [Reaction List](https://www.cometchat.com/docs/ui-kit/ios/v6/reaction-list.md) · [Message Information](https://www.cometchat.com/docs/ui-kit/ios/v6/message-information.md) · [Flag Message](https://www.cometchat.com/docs/ui-kit/ios/v6/flag-message.md)

## Components — calling

* [Call Buttons](https://www.cometchat.com/docs/ui-kit/ios/v6/call-buttons.md)
* [Outgoing Call](https://www.cometchat.com/docs/ui-kit/ios/v6/outgoing-call.md)
* [Ongoing Call](https://www.cometchat.com/docs/ui-kit/ios/v6/ongoing-call.md)
* [Call Logs](https://www.cometchat.com/docs/ui-kit/ios/v6/call-logs.md)
* [Call Log Details](https://www.cometchat.com/docs/ui-kit/ios/v6/call-log-details.md)

## Task guides (recipes)

* [Guides — Overview](https://www.cometchat.com/docs/ui-kit/ios/v6/guide-overview.md)
* [Threaded Messages](https://www.cometchat.com/docs/ui-kit/ios/v6/guide-threaded-messages.md) (incl. [Thread Subscription](https://www.cometchat.com/docs/ui-kit/ios/v6/guide-threaded-messages.md#thread-subscription))
* [Pin & Save Messages](https://www.cometchat.com/docs/ui-kit/ios/v6/guide-pin-and-save-messages.md)
* [Block / Unblock User](https://www.cometchat.com/docs/ui-kit/ios/v6/guide-block-unblock-user.md)
* [New Chat](https://www.cometchat.com/docs/ui-kit/ios/v6/guide-new-chat.md)
* [Message Privately](https://www.cometchat.com/docs/ui-kit/ios/v6/guide-message-privately.md)
* [Call Log Details](https://www.cometchat.com/docs/ui-kit/ios/v6/guide-call-log-details.md)
* [Group Management](https://www.cometchat.com/docs/ui-kit/ios/v6/guide-group-chat.md)
* [Search Messages](https://www.cometchat.com/docs/ui-kit/ios/v6/guide-search-messages.md)
* [AI Agent](https://www.cometchat.com/docs/ui-kit/ios/v6/guide-ai-agent.md)
* [Text Formatter Base Class](https://www.cometchat.com/docs/ui-kit/ios/v6/custom-text-formatter-guide.md)
* [Mentions Formatter](https://www.cometchat.com/docs/ui-kit/ios/v6/mentions-formatter-guide.md)
* [Shortcut Formatter](https://www.cometchat.com/docs/ui-kit/ios/v6/shortcut-formatter-guide.md)
* [Color Selected Text](https://www.cometchat.com/docs/ui-kit/ios/v6/guide-text-color.md) — not supported in v6; the page says what is

## Something is broken — symptom to page

Match the symptom, not the component.

| Symptom | Read |
| - | - |
| `CometChatConversations` is ambiguous | [Overview](https://www.cometchat.com/docs/ui-kit/ios/v6/overview.md) — add ONE toolkit product, import one per file |
| `cannot find 'CometChatSession'` | [Troubleshooting](https://www.cometchat.com/docs/ui-kit/ios/v6/troubleshooting.md) — the file imports neither toolkit |
| "BUG IN CLIENT OF LIBDISPATCH … expected to execute on queue \[com.apple.main-thread]" after an SDK call | [Troubleshooting](https://www.cometchat.com/docs/ui-kit/ios/v6/troubleshooting.md#swift-6-concurrency) — bridge SDK callbacks from `nonisolated` code |
| Login fails though the credentials are right | region mismatch — [Methods](https://www.cometchat.com/docs/ui-kit/ios/v6/methods.md#initialize) |
| Lists stay stale after an action on your own screen | emit the event — [Events](https://www.cometchat.com/docs/ui-kit/ios/v6/events.md) |
| Tapping a conversation does nothing | the Kit has no chat screen — [One-to-One Chat](https://www.cometchat.com/docs/ui-kit/ios/v6/one-to-one-chat.md) |
| No call buttons | [Calling Integration](https://www.cometchat.com/docs/ui-kit/ios/v6/calling-integration.md) — `enableCalling: true` + the Calls SDK; SwiftUI header hides them by default |
| Colours ignored / theme not applied | [Theme introduction](https://www.cometchat.com/docs/ui-kit/ios/v6/theming.md) |
| Code from an older tutorial will not compile (`CometChatUIKitSwift`, `CometChatThreadedMessageHeader`) | it is v5 — [Upgrading from v5](https://www.cometchat.com/docs/ui-kit/ios/v6/migrating-from-v5.md) |

## When the UI Kit is not the answer — drop to the Chat SDK

The Kit ships no component for blocking, creating groups, adding members, transferring
ownership, unread counts or webhooks. Those are **SDK** calls — the SDK is already installed
under the Kit. Never guess a method name:

* **iOS Chat SDK v4 — scoped LLM index:** [llms-ios-v4](https://www.cometchat.com/docs/sdk/ios/llms-ios-v4)
* The iOS Chat SDK's major version is **4**; there is no "v5 Chat SDK for iOS". `/sdk/ios/<page>`
  is the current SDK.
* After an SDK call that changes what the Kit shows, **emit the matching event** — see
  [Events](https://www.cometchat.com/docs/ui-kit/ios/v6/events.md).

## Feature switched on OUTSIDE the app — dashboard, extensions, AI

A feature will not work without these, however correct the client code is.

* Start here: [Extensions overview](https://www.cometchat.com/docs/fundamentals/extensions-overview.md) · [Key concepts](https://www.cometchat.com/docs/fundamentals/key-concepts.md)
* **Message extensions:** [Polls](https://www.cometchat.com/docs/fundamentals/polls.md) · [Stickers](https://www.cometchat.com/docs/fundamentals/stickers.md) · [Collaborative whiteboard](https://www.cometchat.com/docs/fundamentals/collaborative-whiteboard.md) · [Collaborative document](https://www.cometchat.com/docs/fundamentals/collaborative-document.md) · [Link preview](https://www.cometchat.com/docs/fundamentals/link-preview.md) · [Message translation](https://www.cometchat.com/docs/fundamentals/message-translation.md) · [Thumbnail generation](https://www.cometchat.com/docs/fundamentals/thumbnail-generation.md)
* **AI (user copilot):** [Overview](https://www.cometchat.com/docs/fundamentals/ai-user-copilot/overview.md) · [Smart replies](https://www.cometchat.com/docs/fundamentals/ai-user-copilot/smart-replies.md) · [Conversation starter](https://www.cometchat.com/docs/fundamentals/ai-user-copilot/conversation-starter.md) · [Conversation summary](https://www.cometchat.com/docs/fundamentals/ai-user-copilot/conversation-summary.md)
* **AI agents:** [AI agents](https://www.cometchat.com/docs/ai-agents.md) — pair with the UI-Kit [AI agent guide](https://www.cometchat.com/docs/ui-kit/ios/v6/guide-ai-agent.md)
* **Moderation:** [Moderation extensions](https://www.cometchat.com/docs/fundamentals/moderation-extensions.md) · [Overview](https://www.cometchat.com/docs/moderation/overview.md) · [Flagged messages](https://www.cometchat.com/docs/moderation/flagged-messages.md)

## Push notifications (iOS)

The UI Kit renders nothing for push — it is a dashboard + APNs integration.

* [Push overview](https://www.cometchat.com/docs/notifications/push-overview.md) · [iOS APNs push notifications](https://www.cometchat.com/docs/notifications/ios-apns-push-notifications.md) · [iOS FCM push notifications](https://www.cometchat.com/docs/notifications/ios-fcm-push-notifications.md) · [Badge count](https://www.cometchat.com/docs/notifications/badge-count.md)

## Campaigns, auth & webhooks

* **Auth & permissions:** [User auth](https://www.cometchat.com/docs/fundamentals/user-auth.md) · [Roles & permissions](https://www.cometchat.com/docs/fundamentals/user-roles-and-permissions.md) · [Mentions](https://www.cometchat.com/docs/fundamentals/mentions.md)
* **Server-side hooks:** [Webhooks overview](https://www.cometchat.com/docs/fundamentals/webhooks-overview.md) · [Call webhooks](https://www.cometchat.com/docs/calls/webhooks.md)

## Migration & misc

* [Upgrading from v5 to v6](https://www.cometchat.com/docs/ui-kit/ios/v6/migrating-from-v5.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.