title: How to know which segue was used to load the view
body: <p>I have a TableView with two segue that go to the same view but in different ways. The first way is by adding a button in the Navigation Bar and the second way is with a button  accessory from a cell in the TableView.</p>
  
  <p>When I click on the Add button I add an empty contact.
  When I click on the attachment button I edit my contact.</p>
  
  <p>Now, in the second view when I click on Save I make a unwind segue and I save my contact.</p>
  
  <p>My problem is when I want to edit one contact I always create a new contact so I make a copy every time I click Save because it is the same method that is called: - (IBAction) saveUnwind (UIStoryboardPopoverSegue *) segue {...}</p>
  
  <p>So I thought to make two unwind methods and have a ID for my two segues but we can only have a unwind segue  by button.</p>
  
  <p>So how can I have two actions or two unwind action on the same button?</p>
  
  <p>Thank!</p>
  
  <p>Pictures :</p>
  
  <p><a href="http://idzr.org/26ns" rel="nofollow">http://idzr.org/26ns</a>
  <a href="http://idzr.org/3cxw" rel="nofollow">http://idzr.org/3cxw</a></p>