title: Understanding view layout in Xcode 6 InterfaceBuilder
body: <p>I'm a bit of an newb with Xcode's InterfaceBuilder, trying to make my Hello World app but I don't understand why my layout of the UI elements in Interface Builder do not match what I see in the simulator.</p>
  
  <p>I created a single view project with a new UIViewController class and a corresponding .xib file (I'm not using a storyboard yet). In the xib file, I placed a TextView and Toolbar onto the main view. I have also set File's owner as my custom UIViewController class and connected view outlet to the File Owner.</p>
  
  <p>Here's how everything looks in interface builder:
  <img src="https://i.stack.imgur.com/F03xr.png" alt="Interface builder"></p>
  
  <p>When I launch the app in the simulator for iPhone 5 on iOS 7, I get a different layout than on iPhone 5 on iOS 8 and an all together different screen on iPhone 6 on iOS 8. </p>
  
  <p>Here's what I see for iPhone 5 - iOS 7 (notice the black bar at top &amp; bottom of the screens): 
  <img src="https://i.stack.imgur.com/9OADK.png" alt="iPhone 5 - iOS 7"></p>
  
  <p>Here's what I see for iPhone 5 - iOS 8 (the toolbar is missing at the bottom): 
  <img src="https://i.stack.imgur.com/s7ZXJ.png" alt="iPhone 5 - iOS 8"></p>
  
  <p>Finally, everything looks right only on iPhone 6 - iOS 8:
  <img src="https://i.stack.imgur.com/lzk29.png" alt="iPhone 6  - iOS 8"></p>
  
  <p>How can I setup things so my UI elements appear such that:</p>
  
  <ol>
  <li>I don't need to manually place the UITextView's y position at 20
  to account for the status bar.  </li>
  <li>UITextView and UIToolBar are
  placed such that UIToolBar will appear directly below the UITextView
  and they fit whatever window size available on the device?</li>
  </ol>
  
  <p>Can someone point me to a good resource to try understand Interface Builder layouts better?</p>