Trouble adding CometChatConversationList to be added to viewcontroller in swift

I am trying to add CometChatConversationList to my view controller(vc1) and i call it in view did load with following code.
let conversationList = CometChatConversationList()
let navigationController = UINavigationController(rootViewController:conversationList)
conversationList.set(title:“Chats”, mode: .automatic)
self.present(navigationController, animated:true, completion:nil)
Should i add navigation controller for my parent view controller lets say vc1?
I want to do it without adding viewcontroller?Is there anyway to do it?

Hi @saranya,

Thank you for sharing this. We can continue our conversation in our ongoing email thread.

Please write to us there for any and all queries and for technical help.
Thank you.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.