Skip to main content

How to add Tabbed layout for Chat,Users,Groups and Call modules?

This guide will help you understand the step-by-step process to add Tab layout for the modules in the user’s application. CometChat UI Kit provides a modular approach to building real-time messaging applications, where each module, such as Chat, Users, Groups, Call, and Messages, can be used independently or collectively to create a tab bar interface. To implement a tab bar interface you can use the various modules as separate tabs, with each tab representing a different module.

Steps 1

First, create a new file with a subclass of UITabBarController called CometChatUI.

Steps 2

In the CometChatUI class, add properties and method that will create and configure tabs for Chat, Users, Groups and Call modules

Steps 3

Now launch CometChatUI class

Hurray 🎉! You’ve successfully added CometChatUI tabbed layout.