title: Offsetting UIView isn't moving all view elements
body: <p>I have a view controller that looks like this: <a href="http://i.stack.imgur.com/vTDox.png" rel="nofollow">Normal View Controller</a></p>
  
  <p>When the keyboard appears, I want the screen to move upwards so that the textfields don't get covered by the keyboard. I'm using 
  <code>self.view.frame = CGRectOffset(self.view.frame, 0, -keyboardHeight)</code> to move the UIView.</p>
  
  <p>However, when the keyboard appears, it only moves the bottom button: <a href="http://i.stack.imgur.com/1YK8x.png" rel="nofollow">View Controller with Keyboard</a></p>
  
  <p>Why do the rest of the elements in the view controller stay in the same place and how can get them all to move upwards?</p>