QMChatViewController-ios icon indicating copy to clipboard operation
QMChatViewController-ios copied to clipboard

QMChatViewController Text becomes black after pressing Send button

Open ochamods opened this issue 5 years ago • 0 comments

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?

ochamods avatar Aug 03 '20 17:08 ochamods