title: How to call viewWillAppear from a subView
body: <p>I have a Navigation based application, in which I open a subview for the user to login. Once the user has logged in I'm hiding the view, from inside the subview using </p>
  
  <pre><code>[self.view removeFromSuperview];
  </code></pre>
  
  <p>However I want to also refresh the data in the RootViewController. From what I understand I need to do the refresh in the viewWillAppear of the RootViewController. How do I call this from inside the subview?</p>
  
  <p>My guess is that its something like this</p>
  
  <pre><code>[rootViewController viewWillAppear];
  </code></pre>
  
  <p>But obviously rootViewController is not available in the subview.</p>