title: Make Dynamic ImageViews clickable
body: <p>I'm working on an app which dynamically pulls the images from the images folder and displays them in a ScrollView, very similar to <a href="https://developer.apple.com/library/ios/#samplecode/Scrolling/Listings/MyViewController_m.html" rel="nofollow">this tutorial code</a> from Apple (look at the viewDidLoad method):</p>
  
  <p>Every image gets put into an ImageView. Now I want to make every picture clickable, but since it's dynamic I can't create a fixed amount of IBActions + it would be very repetitive and copy/paste, which I want to avoid.</p>
  
  <p>So basically this code:</p>
  
  <pre><code>-(IBAction)Fork {
  [buttonImageView setImage:[UIImage imageNamed:@"Fork.png"]];
  }
  </code></pre>
  
  <p>but for every image that gets created. I'm especially confused because I can't 'connect' the IBActions to the button through the Storyboard.</p>
  
  <p>I appreciate any help with code hints since I'm a beginner.</p>