Gilber Gilber - 2 years ago 164
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 Source

in your viewDidLoad,

simply do:

 self.inputToolbar.contentView.leftBarButtonItem = nil;

This is helpful...:)

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download