UIButton set the solution UIControlStateSelected and UIControlStateHighlighted c

Recommended for you: Get network issues from WhatsUp Gold. Not end users.
[btn setBackgroundImage:img1 forState:UIControlStateSelected|UIControlStateHighlighted];
[btn setImage:img2 forState:UIControlStateSelected|UIControlStateHighlighted];

In the interface designer cannot set this value, only through the code.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download

Posted by Timothy at November 19, 2013 - 2:02 AM