title: How do I get the correct view height in viewDidLayoutSubviews?
body: <pre><code>- (void)viewDidLayoutSubviews {
      [super viewDidLayoutSubviews];
      NSLog(@"viewDidLayoutSubviews view.height: %f", self.view.frame.size.height);
  }
  </code></pre>
  
  <p>In the above, <code>view.height</code> is <em>always</em> 1024 regardless of what orientation the device is in. Even rotating the device will cause <code>viewDidLayoutSubviews</code> to be called, and it will still output 1024.</p>
  
  <p>Yet the view renders fine. What the heck am I missing?</p>