You can set an image in the utilities panel at the right-side of your screen.
Or use this code:
[button setImage:[UIImage imageNamed:@"pressed.png"] forState:UIControlStateSelected | UIControlStateHighlighted];
문제
Is there any way to change the background of a uibutton while it is highlighted and then have it revert back to original state?
해결책
You can set an image in the utilities panel at the right-side of your screen.
Or use this code:
[button setImage:[UIImage imageNamed:@"pressed.png"] forState:UIControlStateSelected | UIControlStateHighlighted];