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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T01:19:01+00:00 2026-05-24T01:19:01+00:00

I have been developing iphone applications for around 3months now and theres a few

  • 0

I have been developing iphone applications for around 3months now and theres a few things that stump me and i don’t really have an idea how to work round them.

I have a navigation controller controlling the views in my application however every screen that is loaded, used then pushed back loses all the information as it seems to be reinstantiated… I believe this is a possible memory management issue?

But how to i create an app that navigates and retains all information in its views until the application is closed.

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-24T01:19:01+00:00Added an answer on May 24, 2026 at 1:19 am

    Possible you didn’t keep a reference to the view controller, the issue is for UIVIewController not to be released.

    Make the view controller an ivar you will instanciate only one time when you push it on stack.

    // in .h
    MyViewController *mVC;
    
    // in .m
    // maybe when the user selects a row in a tableview
    if(mVC == nil) {
        // first time use, alloc/init
        mVC = [[MyViewController ....];
    }
    // then push on the stack
    [self.navigationController ....];
    

    Of course don’t forget to release it later.

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

Sidebar

Related Questions

I have been developing on the iPhone with Objective-C for a few months now
i have been developing iPhone apps for a few months now, i have gone
I have been developing an iPhone app and now I am trying to build
I have been developing an iPhone app which queries a server that relays data
I had asp.net back ground and now developing apps for Iphone. I have been
I have been developing websites for a couple of years now and I almost
I have been developing in asp.net since its existence (also classic asp before that)
I have been developing applications based on C# (.net) and Java (J2EE) for the
I have been developing in ASP.NET and c#, actionscript flash/flex cs3, and the iPhone.
I have been developing iPhone application and just started adding CoreData for persistence. However

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.