Gilber Gilber - 5 months ago 49
Objective-C Question

How to remove attachment icon on jsqmessagesviewcontroller

By default its like this without any customization, its not me who add the icon

Here is what I got:

Here is what i got

What I'm looking for:

What i'm looking for

Answer

in your viewDidLoad,

simply do:

 self.inputToolbar.contentView.leftBarButtonItem = nil;

This is helpful...:)