BUILT FOR IOS

iOS
Chat SDK

Add iPhone messaging with Tencent RTC’s iOS Chat SDK. Connect your Swift or Objective-C interface to direct conversations, groups, and shared media.

DEVELOPER RESOURCES

iOS Chat SDK Docs & Examples

A better guest conversation

Keep questions, photos, and service updates in one familiar mobile conversation.

More than a text message

Let people share photos and voice messages when words alone are not enough.

IOS CHAT CAPABILITIES

Messaging foundations for your product

Direct conversations

  • One-to-one messages
  • Your own interface

Group messaging

  • Shared conversations
  • Membership APIs

Rich messages

  • Text and media
  • Custom application content

Conversation state

  • History and unread counts
  • Your application store

User identity

  • Your own user IDs
  • UserSig authentication

App integration

  • iOS APIs
  • Platform-specific lifecycle

Explore the iOS Chat APIs

Start with the APIs that connect your application.

Initialize

Connect your native app

Initialize the SDK once with your Chat application ID.

Read the Documentation
ChatSession.m
V2TIMSDKConfig *config = [[V2TIMSDKConfig alloc] init];
[[V2TIMManager sharedInstance] initSDK:sdkAppID
                                  config:config];

CUSTOMIZATION

Your experience. Your way.

Build your own interface around connected conversations.

Build an experience of your own

Connect messaging events to the screens and interactions your product needs.

Read the Documentation

GET STARTED

Your first conversation starts here

  1. 01

    Create your app

    Set up a Chat application and your test users.

    Open Chat Console
  2. 02

    Add the iOS Chat SDK

    Follow the platform guide to connect your project.

    Follow the Integration Guide
  3. 03

    Connect your users

    Sign in two test users and send your first message.

    Connect Your Users
iOS Chat SDK
Podfile
pod 'TXIMSDK_Plus_iOS'
ChatSession.m
V2TIMSDKConfig *config = [[V2TIMSDKConfig alloc] init];
[[V2TIMManager sharedInstance] initSDK:sdkAppID
                                  config:config];

iOS Chat SDK FAQs

Can I integrate Chat with Swift or Objective-C?

Yes. The iOS guide provides native framework options, including Swift and Objective-C editions. The snippets here use the Objective-C API with TXIMSDK_Plus_iOS; follow the matching edition in your own Xcode project.

Does the iOS Chat SDK include a ready-made UI?

The SDK supplies messaging APIs and events. Your application builds the chat screens. The illustrations show possible app experiences.

How do I authenticate users of the iOS Chat SDK?

Generate production UserSig on your backend. Pass it to the client for authentication and keep your application secret on the server.

Are these iOS snippets a complete application?

They show individual integration steps. Follow the full guide for imports, initialization, login, error handling, and target-specific configuration. Test messaging with separate accounts before release.

How is iOS Chat SDK usage priced?

Hosted Chat service usage follows your selected plan. Check the included features and allowances for your application; optional plugins and Call services can have separate requirements.

How do I integrate iOS Chat SDK with Swift or Objective-C?

Integrate the documented package in your Xcode project and handle app lifecycle transitions. Test on an iPhone with the permissions and capabilities used by your chosen features.

How do I test iOS Chat SDK before releasing my app?

Check login, SDK readiness, send and receive events, and message state after reconnecting.

How do I customize the interface for iOS Chat SDK?

Build your own conversation list, message rendering and composer around documented SDK events.

Find support for your next step

Talk about your application

Discuss your product, expected usage, and integration needs.

Contact Sales

Build your next conversation

Build your app with the iOS Chat SDK.