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

  • Home
  • SEARCH
  • 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 7158507
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T13:04:40+00:00 2026-05-28T13:04:40+00:00

I have an app that populates list views when a view is created. I

  • 0

I have an app that populates list views when a view is created. I would like to be able to navigate with a back button and go back to a previous screen and have the data that was listed still be there. Is this possible?

What seems to be happening with basic creation of a back button, is when I press it, the view starts up like it was brand new, expecting data input to populate the list. Is it possible to have the state of the previous screen saved? rather than it be wiped out and have to be re-populated when using a back button? I would rather not have to ping the server I get the data from every time a user presses the back button. Especially if the data has already been grabbed once already.

In other words, I’d like it to work like a web browser, where the state of the screen is saved and pressing back just loads what was there, rather than pinging the website again for all of its data.

Thanks.

  • 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-28T13:04:41+00:00Added an answer on May 28, 2026 at 1:04 pm

    You could also use NSUserDefaults to store the data, instead of Core Data. It depends on the data you plan to store.

    Update 1
    Here is an example to use NSUserDefaults

    NSUserDefaults* defaults = [NSUserDefaults standardUserDefaults];
    NSMutableArray* recentlyViewedPhotos = [[defaults objectForKey:@"recentlyViewedPhotos"] mutableCopy];
    //Edit your object here
    [defaults setObject:recentlyViewedPhotos forKey:@"recentlyViewedPhotos"];
    [defaults synchronize];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In my winforms app, I have a list view control that is populated with
I am working on an iOS 5 app. I have a view controller that
I have a split view-based app that presents a master-detail interface, and uses a
I have a view that creates and populates a Selectlist. I want to bind
I'm building an asp.net MVC 2 app. I have a list view which lists
I'm writing an app that would look like gmail. In fact I want to
I have an app that has a viewflipper to keep tabs in view at
I have a view in my app that uses a @modeltype ienumerable of (xxxxxxx.abc),
I have two very simple, identical UITableViews in my app that are populated with
have an app that finds your GPS location successfully, but I need to be

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.