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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T19:17:28+00:00 2026-06-02T19:17:28+00:00

I developed my app in xcode 3. It ran fine in the simulator. I

  • 0

I developed my app in xcode 3. It ran fine in the simulator. I downloaded and installed xcode 4.2. I loaded the app and it had some build problems which xcode fixed and then I ran the build in the simulator and was successful.

The app worked fine but when I closed the app and relaunched it, it would stay on the screen that it last used before I closed it. In the simulator 3.00, it would always start again from the beginning of the app at the splash page and now in simulator 4.2 it goes to the screen it was on prior to when it was last closed.

Is there some code I need to add somewhere for it always to revert back to the beginning when it is relaunched?

  • 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-06-02T19:17:29+00:00Added an answer on June 2, 2026 at 7:17 pm

    You can add UIApplicationExitsOnSuspend to the info.plist;

    UIApplicationExitsOnSuspend (Boolean – iOS) specifies that the
    application should be terminated rather than moved to the background
    when it is quit. Applications linked against iPhone SDK 4.0 or later
    can include this key and set its value to YES to prevent being
    automatically opted-in to background execution and application
    suspension. When the value of this key is YES, the application is
    terminated and purged from memory instead of moved to the background.
    If this key is not present, or is set to NO, the application moves to
    the background as usual.

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

Sidebar

Related Questions

I have developed my app using core data. It works fine in the simulator.
I have downloaded xcode and have developed a crud app (on the iphone) that
I have developed a Cocos2d-X app with XCode which works perfectly when I launch
I just installed Lion, and downloaded Xcode 4.1 from the Mac App Store. I
I installed Xcode 4, it has very cool features. I developed my new app
The app is developed in Xcode 4.2, SDK 5.0, tested on an iPhone 4
I have current a developed app which I am going to submit in just
Ive developed an app for iPhone. Ive successfully tested it in the iPhone Simulator,
I've developed an app using xcode 4.2 and storyboard and yesterday when I tried
I developed a test app and I tried to use into the simulator.. all

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.