title: Prevent a window to open in viewWillAppear
body: <p>In iOS, is there a possibility of stopping a view from loading in the <code>viewWillAppear</code> ?</p>
  
  <p>Something like <code>[self close];</code> ?</p>
  
  <p>What I am trying to do is:</p>
  
  <ul>
  <li>create a view with an object partially loaded</li>
  <li>display the view</li>
  <li>in the viewWillAppear, I finish the object loading and fill the view fields</li>
  <li>if the object loading fails, I do not want to show the view</li>
  </ul>
  
  <p>I know that it is not really the good way to do that,
  but it's existing code that I do not want to change too much.</p>