i want to change the button color when it is clicked. I used :
[button setBackgroundColor:[UIColor redColor]];
but this shows red color onl
You should set UIButton's type to custom and set its image or background image properties for normal and highlighted states.
For professional and nice looking buttons that you can easily use in your apps this custom button component may also help.