1. JRuc33's Avatar
    Code:
    - (IBAction)touch_btnAdvice:(UIButton *)sender {
            UIImage	*aceC = [UIImage imageNamed: @"black.png"];
    	[pPic10 setImage: aceC];
    }
    I want to switch a UIImageView Image from one image to another when I press a button. What is wrong with this code segment, cuz its not working. I have a image named black.png in my project.
    2009-07-30 04:35 AM
LINK TO POST COPIED TO CLIPBOARD