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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T03:02:39+00:00 2026-05-25T03:02:39+00:00

In my app I have a viewcontroller which throwing an UIImagePickerController that produces a

  • 0

In my app I have a viewcontroller which throwing an UIImagePickerController that produces a memory warning. After many research I don’t have found a solution to prevent this warning.

The problem is: When my app receives a memory warning the history of the navigation seems to be lost and when the user presses the back button, my app starts the first controller. (like when my app starts)

How i can keep the history of my navigation after a memory warning?
Or better how i can remove this memory warning with the UIImagePickerController? (I tried a lot of solutions found in stackoverflow.com and google.com)

An other solution for me is to prevent the memory warning to release all data of my controller.

  • 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-25T03:02:40+00:00Added an answer on May 25, 2026 at 3:02 am

    I can’t help you with the memory warning without looking at the code but it seems like TTNavigator sends you back to the first view controller in the stack because it can’t persist the others.

    Are you inheriting from TTViewController? If not you should try that. Secondly if you’re still having problems after inheriting from TTViewController look into implementing the following methods in your view controller:

    - (BOOL)persistView:(NSMutableDictionary*)state {
      // Save important state information into the state dictionary
      // provided to you and return yes to tell TTNavigator to persist
      // this view controller
      return YES;
    }
    
    - (void)restoreView:(NSDictionary*)state {
      // Read the values you saved in state and restore your view
      // controller's state
    }
    

    Those methods are defined in UIViewControllerAdditions.h in the Three20UI project. Hope that helps.

    • 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 has two viewcontrollers Viewcontroller and OptionsViewController. Viewcontroller is the
I have a ViewController class that has a property that is the model which
I wonder if that hurts performance. I have an test app which is pretty
I have an iOS-App which uses ARC. I don't use InterfaceBuilder, all UI is
I am working on an iPad app. I have a viewcontroller which I want
I am currently making an app that will have multiple timers, which are basically
I have a ViewController that adds to other subviews which have subclassed uiviewControllers so
While developing my app I have come to realize that the majority of my
I have a scenario that i suspect is very common, i've found various ideas
I have an app which when opened, displays a splash/loading screen. I had 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.