title: iPhone reuse sender after dismissed modal view
body: <p>I have 15 buttons on my app, which are displayed as an image. When I click on an image the getEventContact function is called which brings up a modal view controller. In this next view a contact is selected - the modal view is dismissed and the setEventContact function is run (to return the selected contact (which is its own class)).</p>
  
  <p>Is there a way to determine the previous sender which triggered the getEventContact function as it could be one of 15 buttons.</p>
  
  <pre><code>-(IBAction)getEventContact:(id)sender {
      [self performSegueWithIdentifier:@"selectContact" sender:self];
  }
  
  -(void)setEventContact:(Contact *)selectedContact
  {
      //do something
  }
  </code></pre>
  
  <p>Cheers.</p>