I realize that there has to be a a ton of guides to do this but I can't find it...
What I am trying to do is use a button with a custom image in it and when you press the button have the image change to another "pressed" version of the button.
If you don't like James Webster's solution, you can also do the same through interface builder. Select your button and from the properties find the "state config" list and pick "Selected". Then if you set image, title etc, you will get different graphics and text if you do [button setSelected:YES];
What I believe you need is:
[button setImage:image forState:UIControlStateSelected];
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With