Using as a whole feature with the default settings

This is the quickest way to start using the Chat feature. All the default logic and navigations have already been defined.

Usage

import UIKit
import AmityUIKit

class ClientViewController: UIViewController {
    
    override func viewDidLoad() {
        super.viewDidLoad()
    }
    
    @IBAction func showChatListPage(_ sender: UIButton) {
        let chatHomeVC = AmityChatHomePageViewController.make()
        present(chatHomeVC, animated: true)
    }
}

Last updated