title: Most efficient way to have UIViewController view fill out all of usable space?
body: <p>I have a universal single view app which has a <code>UINavigationBar</code> <code>toolbar</code> at the bottom, then the <code>UIViewController</code> <code>view</code> takes up the rest of the space. </p>
  
  <p>I usually do everything programmatically, so for the longest time I've been calculating the <code>UIViewController's</code> <code>view</code> <code>frame</code> manually in <code>loadView</code>, taking into account all of the components that a device could have i.e. home indicator height on new iPhone device, opaque status bar on old devices. </p>
  
  <p>However, with all the new devices I'm finding this way to be inefficient and have thought about switching to a storyboard or xib. I've never really worked with these so I don't understand how it works. For instance, if I create a storyboard with the ViewController's view taking the entire size of the usable area, will this translate for all devices? Will it resize correctly when there's rotation?</p>
  
  <p>In general I'm kind of wondering, what is the most elegant / efficient way to create an app where the <code>UIViewController's</code> <code>view</code> takes up the entire usable area of the screen on all devices, including when the phone rotates?</p>