Preventing view unloading on didReceiveMemoryWarning
Guys
I have a view that I really do not want unloaded when a low memory warning is received.
I have tried returning from didReceiveMemoryWarning before anything is done, but to no avail.
In fact, [self isViewLoaded] returns 0 already when tested in didReceiveMemoryWarning, so it's already been dumped by the time didReceiveMemoryWarning is called.
How can I prevent my view being dumped?
The view is an overlay to the video camera, so the memory cleanser wrongly thinks it's not displayed - it is displayed, only as an overlay.
So when i get the memory warning, my view vanishes from the camera.
Any help would be greatly appreciated.
|