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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T14:35:30+00:00 2026-05-17T14:35:30+00:00

I have a navigation based app. The root view is a list of items.

  • 0

I have a navigation based app. The root view is a list of items. From this root view you can tap on a table cell to an item’s detail view. Or you can go to a form view to create a new item via the ‘Add’ button in the nav bar.

My question is how I can jump from the form view to the detail view once the new object has been created?

I don’t want to push the detail view on top of the form view, because I want the root table view to be what the user see’s after pushing the ‘back’ nav button form the detail view.

I’ve tried the following. It pops to the root view fine, but doesn’t push the detail view after that..

[context save:&error];

[self.navigationController popToRootViewControllerAnimated:NO];

// display detail view
GoalDetailViewController *detailViewController = [[GoalDetailViewController alloc] initWithNibName:@"GoalDetailViewController" bundle:nil];

// Pass the selected object to the new view controller.
detailViewController.goal = goal;

[self.navigationController pushViewController:detailViewController animated:YES];
[detailViewController release];

Any help and direction would be much appreciated 🙂

Cheers!

  • 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-17T14:35:31+00:00Added an answer on May 17, 2026 at 2:35 pm

    Generally you would implement the add button using a view controller displayed modally.

    [self presentModalViewController:modalViewController animated:YES];
    

    meaning it appears from the bottom of the screen (see adding a contact). Then when they press done in the top right you can push the detail view controller on the navigation controller without animating it, making the back button go back to the original list view.

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

Sidebar

Related Questions

I have a navigation based app. The first view (rootcontroller) starts with three large
I have a navigation based app where a certain pushed view has a nice
I have a navigation based iPhone app. When you press on a cell in
I have an navigation-based app with three view controllers. The first has categories of
I have a navigation based iPhone app, and I want to load a view
I have a traditional navigation based app. Should I set the navigation item of
I have a navigation view with a cell that has something as simple as
Let's say I have a list of categories for navigation on a web app.
I have a navigation based app where I push UITableViewControllers onto the stack. I
I have a navigation based iPhone app. Normally you start on the RootViewController, there

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.