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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T18:33:04+00:00 2026-05-20T18:33:04+00:00

I getting a little confused about when one needs to save state for an

  • 0

I getting a little confused about when one needs to save state for an iPhone app. In particular for the scenario where one’s Iphone IOS version supports multitasking, and when you come back to it, it does appear to be in the same state (for my simple app anyway).

Question – Can you clarify how the “need to save state for an iPhone app”, and the multitasking support play together.

Hopefully the response can help clarify aspects such as:

  1. For the multitasking support scenario (when a user doesn’t explicitly terminate the application), is there any need at all to save state? Or does IOS do it for you (which it kind of appears it does for my simple app).

  2. If the answer to 1 is YES, then at what point do you really need to save state then?

  3. If the answer to 1 is NO, then exactly what data/state do you lose versus not-lose when IOS does keep your application “running” in the background?

thanks

  • 1 1 Answer
  • 1 View
  • 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-20T18:33:05+00:00Added an answer on May 20, 2026 at 6:33 pm

    1A. Yes. Because…

    1B. You don’t know. The OS usually saves state on newer devices, but this is not guaranteed, and will not always happen. On older devices the OS won’t save state.

    2A. Even if the answer to 1B. is YES, the OS could still delete your app’s state to save memory. So you still need to save any state you don’t want potentially lost after your app is suspended.

    3A. Your app may lose track of time (from NSTimer ticks, etc.) if it doesn’t check the clock on resume.

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

Sidebar

Related Questions

I'm getting a little confused about bubbling. <html> <body> <div onclick=window.location='http://www.yahoo.com';> <span> <h3 onclick=window.location='http://www.google.com';>
I'm getting into Google Web Toolkit, and am a little confused about the Entry
I'm getting a little confused about when I should use a NIB file and
I am doing one project on Struts 2 that I am getting knowledge little
I'm having a little dilemma with an iphone project. I'm getting some JSON data
So I'm a little confused about Qt's memory management. I was looking at the
I'm finally getting started with version control after getting about 40% of the way
I'm a little bit confused about how to approach this. I had never used
I was getting a little confused with typedef/enum until I realised that I did
I'm a little confused about prototyping in JS. I've prepared a fiddle for this:

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.