How to remove attachments button from messageInputView

Is there a way of disabling the “plus” button from messageInputView?

Hi,

you can remove the button like below:

chatViewController.messageInputView.addButton?.removeFromSuperview()
1 Like