i have one view .in that view i have 2 buttons .
i know tag of that button . i want to change image of that button.
how can i change image by this tag?
UIButton *button = (UIButton *)[myView viewWithTag:myTag]; [button setImage:... forState:...];