title: How can I fix a UIView to the bottom of the screen?
body: <p>I am developing an app with auto layout turned off and default setting to the Iphone 5. Now I have a UIView at the bottom of the screen, when I switch between the size options in IB the UIView correctly moves up to fix itself to the bottom of the screen. When however I test on my IPhone 4 or the simulator it doesn't move up, instead it gets cutoff.</p>
  
  <p>How can I make it so that the UIView at the bottom of the app gets shunted upwards for the smaller IPhone 4?</p>
  
  <p>See the following example</p>
  
  <p><img src="https://i.stack.imgur.com/PoATT.jpg" alt=""></p>
  
  <p><img src="https://i.stack.imgur.com/K8XWI.jpg" alt=""></p>
  
  <p>I basically want the white box to be shunted upwards to fill the gap underneath the grey box.</p>
  
  <p><strong><em>Update</em></strong></p>
  
  <p>In terms of the view hierarchy, there is a containing view and then the white section that you see is a simple UIView (white background) with a scroll view inside. The project is fairly new so the setup is very simple and there is no code to position any of the UIViews.</p>