QMChatViewController-ios
QMChatViewController-ios copied to clipboard
QMChatViewController Text becomes black after pressing Send button
Expected behavior So, I've overrided the configuration for the TextView input when the user types a message to white, but after pressing the send button it goes back to black. This is the code I have in the viewDidLoad() method
self.inputToolbar?.contentView?.backgroundColor = UIColor.chatInputToolBarColor
self.inputToolbar?.contentView.textView.backgroundColor = UIColor.clear
self.inputToolbar?.contentView.textView.placeHolderColor = UIColor.white
self.inputToolbar?.contentView.textView.textColor = UIColor.white
´´´
It seems that when I press send It gets override again, I tried the same code in the sendMessage functions but It gets ignored.
Any idea of how to solve this?