I am trying to make a standard check box for my iPhone app from a UIButton with a title and image. The button image changes between an \"unchecked\" image and
UIButton
Set the images in the button:
[button setImage:uncheckedImage forState:UIControlStateNormal] [button setImage:checkedImage forState:UIControlStateSelected]
Now all you need to do is:
button.selected = state
and the correct images will display.