title: If I don't want to use a nib file, what is the proper implementation of loadView that sizes the root view correctly?
body: <p>There are a bunch of related questions here, but none that feels like a concise or correct answer.  Here's the situation:</p>
  
  <p>I am creating a new ViewController and don't want to use a nib file.  My understanding from the <a href="http://developer.apple.com/library/ios/#documentation/uikit/reference/UIViewController_Class/Reference/Reference.html" rel="nofollow">Apple docs</a> is that if I don't want to use a nib, I should implement loadView to manually create my own view hierarchy.</p>
  
  <p>However, its not clear to me how I should properly instantiate self.view with the proper bounds (given this view controller might be used in a bunch of different situations, setting it simply to the screen bounds doesn't feel right).</p>
  
  <p>Somehow the default UIViewController loadView does seem to properly initiate the frame size, but its not clear if I'm writing my own version what I should be doing to do this.</p>