IOS 5 SDK and Segues?

You could try using the navigation controller to pop back. This will probably produce the effect you are after.

Up vote 1 down vote favorite share g+ share fb share tw.

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. In my IBAction method for the View 2 calculation I have the following snippet. Self performSegueWithIdentifier:@"BackToView1" sender:sender; But the problem is it loads View 1 using the left animation when I need it to load the right.

Would that be a custom segue? Am I missing something? 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.

Ios5 storyboard link|improve this question edited Nov 7 '11 at 22:23 asked Nov 7 '11 at 22:09Joshua95212 74% accept rate.

You could try using the navigation controller to pop back. This will probably produce the effect you are after. Self.

NavigationController popViewControllerAnimated:YES.

Sweet. That did the trick. I assumed I had to use the segue with IOS 5.

You know what happens when you assume :) Thanks – Joshua Nov 8 '11 at 14:35.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions