Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6780849
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T16:33:16+00:00 2026-05-26T16:33:16+00:00

I am creating a project with Xcode 4.2 and using it’s storyboard. In one

  • 0

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T16:33:17+00:00Added an answer on May 26, 2026 at 4:33 pm

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

    [self.navigationController popViewControllerAnimated:YES];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I created a project in xcode 4.2 using the feature of storyboard. I have
I have been busy in my project creating a webapp (in struts) that manages
Im creating a project in Xcode using OpenCV as a framework. It works great
I'm creating a project in Java using XCode 3.2.1..... But it is giving an
I had created a project using base sdk 5.0 in xcode 4.2. While creating
Just created a new project in Xcode (View based), and tried creating a button
I am creating windows installer project using Visual Studio 2005. Is there an option
I have an iPhone SDK project that is supposed to build a static library
I'll be creating an app that will start it's life as an iPhone app.
I have a rubyCocoa project, that was written for ruby 1.8.6, RubyCocoa version 0.13.2.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.