Thread: Changing UIImageView Image
-
07-29-2009, 09:35 PM #1
Changing UIImageView Image
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.Code:- (IBAction)touch_btnAdvice:(UIButton *)sender { UIImage *aceC = [UIImage imageNamed: @"black.png"]; [pPic10 setImage: aceC]; }



LinkBack URL
About LinkBacks
Reply With Quote