title: UIViewController prevent view from unloading
body: <p>When my iPhone app receives a memory warning the views of UIViewControllers that are not currently visible get unloaded. In one particular controller unloading the view and the outlets is rather fatal. </p>
  
  <p>I'm looking for a way to prevent this view from being unloaded. I find this behavior rather stupid - I have a cache mechanism, so when a memory warning comes - I unload myself tons of data and I free enough memory, but I definitely need this view untouched.</p>
  
  <p>I see UIViewController has a method <code>unloadViewIfReloadable</code>, which gets called when the memory warning comes. Does anybody know how to tell Cocoa Touch that my view is not reloadable? </p>
  
  <p>Any other suggestions how to prevent my view from being unloaded on memory warning?</p>
  
  <p>Thanks in advance</p>
  
  <hr>
  
  <p>Apple docs about the view life cycle of a view controller says:</p>
  
  <blockquote>
    <p>didReceiveMemoryWarning - The default
    implementation releases the view only
    if it determines that it is safe to do
    so</p>
  </blockquote>
  
  <p>Now ... I override the <code>didReceiveMemoryWarning</code> with an empty function which just calls NSLog to let me know a warning was received. However - the view gets unloaded anyway. Plus, on what criteria exactly is decided whether a view is safe to unload ... oh ! so many questions!</p>