Any idea to set the background color of the UIButton?
I tried to use
self.sendButton.backgroundColor = [UIColor greenColor];
but it didn’t work.
You need to use a custom button. You can set the image as background or define UIColor.
Take a look at these links:
Iphone UIButton Background Color
Is it possible to change the background color of UIButtons?