I'm using the iOS SDK to present the ChatViewController() through UIViewControllerRepresentable in SwiftUI :
import Foundation
import CrispWebRTC
import SwiftUI
struct CrispViewRepresentable: UIViewControllerRepresentable {
typealias UIViewControllerType = ChatViewController
func makeUIViewController(context: Context) -> ChatViewController {
ChatViewController()
}
func updateUIViewController(_ uiViewController: ChatViewController, context: Context) {
// Updates the state of the specified view controller with new information from SwiftUI.
}
}
The sheet appears correctly, but when starting to type a message, the messages go up and become invisible, including the currently redacted message and the send button :
Hi !
I'm using the iOS SDK to present the ChatViewController() through UIViewControllerRepresentable in SwiftUI :
I then present it in a sheet :
The sheet appears correctly, but when starting to type a message, the messages go up and become invisible, including the currently redacted message and the send button :