title: UITableViewController subview: Tell pushViewController to owning UIViewController
body: <p>I have a <code>UINavigationViewController</code> and inside that I have added a <code>UITableViewController</code> as a subview.</p>
  
  <p>I'd like to be able to tell the <code>UINavigationViewController</code> pushViewController from inside the <code>UITableViewController</code>, but I am unable to retrieve the correct navigationController object.</p>
  
  <p>I have tried some of the methods discussed <a href="https://stackoverflow.com/questions/1689023/unable-to-pushviewcontroller-for-subview">in this thread</a>, but I cannot get the navigationController for the view.</p>
  
  <p>Is there a way to get a reference for the 'owning' view for a subview?</p>
  
  <p>EDIT: I was able to do this:</p>
  
  <pre><code>[[(MyAppDelegate *)[[UIApplication sharedApplication] delegate] mainViewController].navigationController pushViewController:oOptionsViewController animated:YES];
  </code></pre>
  
  <p>To make it work. But the issue is just I'd like to do it without necessarily knowing the specific name of the navigationController (say it I have several of these instances, where I use the same class, but they may be used in other navigation controllers..)</p>