I’ve never personally seen didReceiveMemoryWarning called before. Is there a known threshold of memory usage where it gets called?
I’ve never personally seen didReceiveMemoryWarning called before. Is there a known threshold of memory
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
It’s called when the system has low memory, then you need to purge your
UIViewController.You can simulate a memory warning in the Simulator:
Hardware > Simulate Memory Warningand see what happens.If you are supporting prior versions to iOS6 it’s important to take note of the following from Apple’s documentation:
About the threshold, I try not to exceed 12MB of memory.