Quick question. As I am testing my iPad app every now and then I get a low memory warning. It's not often at all every few days days of testing it pops up. I started to look at how to unload things from memory while I am using ARC.
On my mainVC I have a help button that loads a scrollView with about 20 jpg files that users scroll and can read about the features on the app. When the user first presses the button it takes almost 2 seconds till that new viewController is pushed on the stack. I then press the back button on the NavController to return to the main page. But when I press the help button again the page that took a couple of seconds to load the first time around loads right away. To me this would indicate that the VC and images were not unloaded on exiting the page to free up memory since it loads right away?
I thought when you backed out of a View that view is destroyed?
On my mainVC I have a help button that loads a scrollView with about 20 jpg files that users scroll and can read about the features on the app. When the user first presses the button it takes almost 2 seconds till that new viewController is pushed on the stack. I then press the back button on the NavController to return to the main page. But when I press the help button again the page that took a couple of seconds to load the first time around loads right away. To me this would indicate that the VC and images were not unloaded on exiting the page to free up memory since it loads right away?
I thought when you backed out of a View that view is destroyed?