A chat screen in a native iOS app should look like the rest of your app. To build one in SwiftUI or UIKit, you need the chat data itself: conversations, messages, and changes as they happen.
The TalkJS Swift Data API gives iOS and macOS apps direct access to TalkJS chat data. Install the talkjs-core-swift package with Swift Package Manager, connect as a user, and read, ...