Using xcode I have created an interface with several buttons, the problem I am having is that I would like to change the image on a button once it has been clicked. I understand how I would do this if I created the button programatically but no idea how to change an image that was created in the interface builder.
I don’t really want to start from scratch and build the interface again programmatically so
if anyone could point me in the right direction I would appreciate it.
Thanks.
Use the button image property:
You will need to have established an
IBOutletconnection to theUIButton.