title: IOS 5 SDK and Segues
body: <p>I am creating a project with Xcode 4.2 and using it's storyboard.  In one of the views I have a button that a user will tap and it will perform some calculations.  If the calculations are correct I need to display the view that they just came from.  I am currently using a Navigation Controller.  When the app starts it loads View 1.  When I choose an option it loads View 2.  If I click the 'back' button in the toolbar it loads View 1 with left animation.</p>
  
  <p>In my IBAction method for the View 2 calculation I have the following snippet.</p>
  
  <pre><code>[self performSegueWithIdentifier:@"BackToView1" sender:sender];
  </code></pre>
  
  <p>But the problem is it loads View 1 using the left animation when I need it to load the right.</p>
  
  <p>Would that be a custom segue?  Am I missing something?</p>
  
  <p>[Edit]
  I just noticed something as well.  When View 1 loads from my IBAction it appears it is initializing the AppDelegate again, whereas the 'back' button does not.  I need to not initialize the AppDelegate since I am loading a data object at the start of the app.  Calling init again kills my object.</p>