title: Pushing manually initialized view controller freezes app
body: <p>I'm initializing a view controller and pushing it like so</p>
  
  <pre><code>MyViewController *vc = [[MyViewController alloc] init];
  [self.navigationController pushViewController:vc animated:YES]
  </code></pre>
  
  <p>However, the app basically freezes after pushing. If I don't push, it doesn't transition to the new view, but I can continue using the app (it doesn't freeze).</p>
  
  <p>Also, if I add a view controller to my storyboard of class MyViewController and give it a storyboard Id, I can initialize the view controller and push it just fine with the storyboard <code>instantiateViewControllerWithIdentifier</code> method.</p>
  
  <p>Anybody have any idea why this is happening?</p>
  
  <p><strong>Edit</strong></p>
  
  <p>Using the technique that Zaph recommended in his comment, I can see that the code is stuck iterating the new view controller's <code>viewWillLayoutSubviews</code> method over and over. Not sure why this is happening.</p>