PDA

View Full Version : Linking a button to a picture?




mcanadiensfan63
Nov 1, 2008, 02:34 PM
ok so im trying to get it so that when i click on the button in the interface it brings up a picture. How do i do this?



mcanadiensfan63
Nov 1, 2008, 02:35 PM
a tut vid would be great

jnic
Nov 3, 2008, 06:17 AM
IBAction on the button that calls [self.view addSubView:imageView], where imageView is a UIImageView whose image property is set to the UIImage you want to show.