title: Auto layout: Xcode 6: Centering UI elements
body: <p>I'm using Interface Builder in Xcode 6 to make an app and am having trouble getting the text fields and button to centre on the screen for different size screens.</p>
  
  <p>I thought it was a matter of selecting horizontal and vertical centering in container but it doesn't seem to be that when I try it in auto layout. Actually I've tinkered around a bit and I still haven't got it.</p>
  
  <p>I just want to be able to see all of my button and text fields for any size iPhone screen and right now simulator is only showing part of these UI elements like this:</p>
  
  <p><img src="https://i.stack.imgur.com/UM14Z.png" alt="View in iPhone 6 simulator"></p>
  
  <p>I also want to do this in storyboard and not in code as I'm not at the level of doing this in code yet.</p>