Hi, everyone
I have 1 UIButton with 1 image with blue colour but when i click on UIButton at that time i want to remove that image and add 1 another image.
Hi, everyone
I have 1 UIButton with 1 image with blue colour but when i click on UIButton at that time i want to remove that image and add 1 another image.
In code you can set button image following way:
[yourButton setImage:yourImage forState:UIControlStateHighlighted]; // or for whatever state you want
You can also set all necessary images in IB for all possible states (default, highlighted and selected)