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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T04:05:04+00:00 2026-05-16T04:05:04+00:00

I have an app that if it is quit in a certain view, I

  • 0

I have an app that if it is quit in a certain view, I want to restore this view exactly where the user left.

My applicationDidFinishLaunching is very simple at the moment:

- (void)applicationDidFinishLaunching:(UIApplication *)application {

    // Override point for customization after app launch    
    [window addSubview:tabBarController.view];
 [window makeKeyAndVisible];

}

What can I do to restore a sequence of 3 view controllers that must be stacked in the tab bar controller?

Normally, the user do these interactions with the app to go in the view that I want to restore:

  1. App pops out;
  2. The first tab is a table view (so its the first view controller that I have to restore) and user selects a row;
  3. The view that appears is another table view (so its the second view controller that I have to restore) and user taps a + in the top bar of this view;
  4. The last view controller appears in a modal way (so its the third view controller that I have to restore).

I tried what the answer of this post suggests, but my tab bar controller turns out in a mess (the post don’t use a tab bar controller and I’m a beginner in iPhone development, so my tries wasn’t very successful).

Thanks in advance.

  • 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-16T04:05:05+00:00Added an answer on May 16, 2026 at 4:05 am

    It doesn’t sound like you’re describing typical UITabBarController use patterns, where you have a series of tabs that are always available and offer different modes of use for the application. Usually recreating the state of a tab bar controller is just a matter of instantiating the tabs as usual and selecting the current tab.

    A sequence of screens that provide increasing levels of detail is the normal use pattern for UINavigationController.

    You may want to investigate whether you have a sane design before worrying about how to restore it.

    That said, you can either recreate your whole structure in applicationDidFinishLaunching, or you can give each class the logic to recreate the view controllers and views that are downstream. I would take the latter approach.

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

Sidebar

Related Questions

I have an app that needs to handle very large strings between a SQL
I have an app that lets the user search over a number of fields
Quick question. I have an app that use a native DLL through PInvoke, this
I have a very strange bug in a shipping iPad/iPhone app that I can't
I have an app that's a simple clone of reddit. Using Devise you can
I have a web app that users upload files to. I want to authenticate
I have an app that plays radio stations, and I now want to integrate
I have an app that needs to open a new window (in the same
I have an app that executes commands on a Linux server via SSH just
I have a app that I'm deploying to a development server using Capistrano. I'd

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.