My program is like the Page Control sample, except a lot more complicated. So as more and more pages are added, obviously it will run out of memory.
Now I did implement the didReceiveMemoryWarning, and my program doesn't seem to crash no matter how many pages I add.
I'm just wondering if it is okay, (or Apple think it is okay), to be relying on doing this. Should I be releasing the views on the fly instead, so that the didReceiveMemoryWarning never gets close to being called?
Now I did implement the didReceiveMemoryWarning, and my program doesn't seem to crash no matter how many pages I add.
I'm just wondering if it is okay, (or Apple think it is okay), to be relying on doing this. Should I be releasing the views on the fly instead, so that the didReceiveMemoryWarning never gets close to being called?