ChatKit
ChatKit copied to clipboard
MessageInput inheritance
Hi there!
Just wanted to ask if there is some elegant way to extend MessageInput
class? I would like to add more buttons to the layout but I found that the init()
method which is responsible for inflating is private. I could add my own method which will do inflating again with my own layout but that would be bad when it comes to performance.
Just to clarify what I want to achieve: something similar to iOS version of Whatsapp - I would like to show two buttons for audio/video and when the user starts typing hide them to show submit button.
Do you guys have some suggestions?
Did you find any solution or any elegant way to do that? if yes please can you share with me?
@awaisabbasaa11 Unfortunately, I didn't find one. I end up showing a dialogue with options when tapping the "plus" icon.