logo
1
0
Login
RoleWong<814209329@qq.com>
feat: 2.4.0

Tencent Cloud Desk Customer UIKit (iOS) Example

This repository contains an example app showcasing how to integrate Tencent Cloud Desk Customer UIKit into your iOS application with minimal effort.


About Tencent Cloud Desk Customer UIKit

TencentCloudCustomer is an iOS library designed to simplify the integration of Tencent Cloud Desk. This framework helps you implement a professional and customizable chat interface, suitable for intelligent customer service scenarios, without dealing with the complexities of chat integration.


Getting Started

Follow the steps below to configure and test the example app:

Step 1: Configure the Example

  1. Open the file located at:
    customer_uikit_demo/Private/GenerateTestUserSig.h.
  2. Replace the placeholder values with your Tencent Cloud Chat credentials:
    • public_SDKAPPID: Enter your SDKAppID from the Tencent Cloud Chat console.
    • public_SECRETKEY: Enter your SDKSecretKey from the Tencent Cloud Chat console.
    • test_userID: Specify a test User ID for the customer account.
    • customer_service_id: Enter the Customer Service ID from the Tencent Cloud Desk console.

Step 2: Build and Run

  • Open the project in Xcode and run the app on a simulator or physical device.

Step 3: Test the Chat Interface

  • On the home page, click the Start Chat button to open the customer service chat page.

腾讯云智能客服用户端 UIKit (iOS) 示例

此仓库提供一个示例应用,展示如何将 腾讯云智能客服用户端 UIKit 无缝集成到您的 iOS 应用中。


关于腾讯云智能客服用户端 UIKit

TencentCloudCustomer 是一个简化集成腾讯云智能客服用户端的 iOS 库。通过少量代码,您可以实现专业、可定制的聊天界面,非常适合智能用户端服务场景,无需处理复杂的聊天系统集成。


快速入门

请按照以下步骤配置并测试示例应用:

第一步:配置示例

  1. 打开文件:
    customer_uikit_demo/Private/GenerateTestUserSig.h
  2. 替换占位符内容为您的腾讯云聊天凭证:
    • public_SDKAPPID:填写从腾讯云 IM 控制台获取的 SDKAPPID
    • public_SECRETKEY:填写从腾讯云 IM 控制台获取的 SECRETKEY
    • test_userID:为用户端测试账户指定一个用户 ID。
    • customer_service_id:填写从腾讯云智能客服管理端获取的客服号 ID。

第二步:构建并运行

  • 在 Xcode 中打开项目,并在模拟器或设备上运行应用。

第三步:测试聊天界面

  • 在首页点击 Start Chat 按钮进入用户端服务聊天页面。