ios - xcode run on load ibaction -



ios - xcode run on load ibaction -

i'm trying have yespic show on load. i'm new xcode. lots of asp classic experience. when viewcontroller appears there no image. if press yespic, image show. want show image on load. i'm lost 4 days.

- (void)viewdidload { [super viewdidload]; // additional setup after loading view, typically nib. } -(ibaction) yespic; { uiimage *img =[uiimage imagenamed:@"eggplant.png"]; [imageview setimage:img]; // can utilize show if have paid something. } -(ibaction) nopic; { uiimage *img =nil; [imageview setimage:img]; }

- (void)viewdidload { [super viewdidload]; // additional setup after loading view, typically nib. uiimage *img =[uiimage imagenamed:@"eggplant.png"]; [imageview setimage:img]; } - (ibaction) yespic { } - (ibaction) nopic { uiimage *img =nil; [imageview setimage:img]; }

ios xcode ibaction

Comments

Popular posts from this blog

php - How to pass multiple values from url -

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

database - php search bar when I press submit with nothing in the search bar it shows all the data -