Linking a button to a picture?

Discussion in 'iPhone/iPad Programming' started by mcanadiensfan63, Nov 1, 2008.

  1. macrumors member

    Joined:
    Dec 28, 2007
    #1
    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?
     
  2. thread starter macrumors member

    Joined:
    Dec 28, 2007
    #2
    a tut vid would be great
     
  3. macrumors 6502a

    Joined:
    Oct 24, 2008
    Location:
    Cambridge
    #3
    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.
     

Share This Page