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 6974021
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T17:11:00+00:00 2026-05-27T17:11:00+00:00

I have made a very simple project in Xcode 4 where I connected 4

  • 0

I have made a very simple project in Xcode 4 where I connected 4 Navigation view controllers using storyboard mode. I didn’t write a single piece of code. Now the problem that I have is with the Done button. See attached pictures.

When you click on the button on page 1, it take you to page 2. Clicking the button there takes to page 3. You see the Page1, Page2 back buttons. Pretty straight forward.

Now what I did was on page 2 I added a “+” button which take the user to page 4. When I click on “Done” button there I get taken back to page 2 but the problem is that the back button shows “Page 4” what I need it to show is “Page 1”. I connected all the views using “Push”

Any ideas if this can be done through story board or do I need to write some code to fix this behavior?

enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

  • 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-27T17:11:01+00:00Added an answer on May 27, 2026 at 5:11 pm

    Segues can only create / push new controllers onto the stack, they are not used to pop / go backwards in the stack hierarchy. So you need to write a IBAction that pops the viewController when the user taps the Done button.

    - (IBAction)doDoneButton:(id)sender {
      [self.navigationController popViewControllerAnimated:YES];
    }
    

    be sure to connect the IBAction to your button in the storyboard.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a VERY simple C# Winforms project that I made using Visual Studio
I have made a very simple Pie Graph generator using Javascript & SVG graphics.
I have made a deployment project for my very simple .Net 4.0 C# Winforms
I have made a very simple AppleScript to close tabs in Safari. The problem
in my application I made a very simple binding. I have a NSMutableArray bound
I made a very simple spinlock using the Interlocked functions in Windows and tested
I have made a very simple game in titanium mobile. I only use 90k
I am a very new programmer, I have made a couple basic applications, however
We have a number of very old data entry forms that were made in
I have made a new windows service which works fine using barebone code (just

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.