title: Cancel button instead of a back button in Navigation Controller
body: <p>I have a general question concerning the navigation between views.</p>
  
  <p>I have a view controller 1 embeded in a navigation controller. In the nav bar, I have a button to do add data, when pushed, it goes to view controller 2 through segue Show (in Storyboard). In view controller 2, I return to view controller 1 after collecting data when I click the button save in nav bar on the right. I collect data with:</p>
  
  <pre><code>override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject!) {...}
  </code></pre>
  
  <p>I would prefer instead of a back button to have a cancel button in the view controller 2 to return to view controller 1.</p>
  
  <p>I feel something is wrong in my design but I dont know what.</p>
  
  <p>In fact I am looking for something very similar to app clock. </p>
  
  <p>Do you have any idea?</p>
  
  <p>Edit: Here is the story board. you will notice the loop beween the two controller. how to do when I click save to not have a back button automatically on the first controller?</p>
  
  <p><img src="https://i.stack.imgur.com/7hane.png" alt="Storyboard"></p>