Any idea how to set background color of a UIButton?
I tried to use
self.sendButton.backgroundColor = [UIColor greenColor];
but it didn't work.
Any idea how to set background color of a 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 an image as the background or define UIColor.
Take a look at these links: