How to start chat conversation in iOS

initially recent chat page display without channel list and plus iocn… how to start chat conversation

Hi @ManiSabarish Please ensure that you use our UIKit Open-source one, and follow the steps below.

  1. Integrate iOS UIKit Open-source
  2. Navigate to AmityRecentChatViewController.swift
  3. Add this code to the setup view
let addImage = UIImage(named: "icon_chat_create", in: AmityUIKitManager.bundle, compatibleWith: nil)
let barButton = UIBarButtonItem(image: addImage, style: .plain, target: self, action: #selector(didClickAdd(_:)))
navigationItem.rightBarButtonItem = barButton

we are using AmityUIKit SDK. how to use above code and then we got error.

Hi, may I confirm one thing, is this one open-source or packaged uikit? In order for this code to work, you will have to use our open-source one. In case, you haven’t migrated, please see the guide here: iOS Migration Guide - Amity Docs

Amity opensource sample code is not run sucessfully. its is display the data couldnot be read because its not correct format.

Hi @ManiSabarish since we have provided a guide on how to install uikit open-source in one of your topics: The data couldn’t be read because it isn’t in the correct format, did it solve this issue?