title: UIView size/position not working on iPad as on iPhone
body: <p>I have a UIView of size width=320px height=40px which I want to display at the bottom looking like a tab-bar.</p>
  
  <p>I use the following code to accomplish this and it works fine on iPhone. But when I try the iPad simulator, the view does not appear anywhere on the screen.</p>
  
  <pre><code>buttonsView.frame=CGRectMake(
                                  0,
                                  self.view.frame.size.height - buttonsView.frame.size.height,
                                  self.view.frame.size.width,
                                  buttonsView.frame.size.height );
  </code></pre>
  
  <p>This stretches the view to the width of the screen but keeps it's original height.</p>
  
  <p>How can I make this show right on my iPad also?</p>
  
  <p><strong>[UPDATE]</strong></p>
  
  <p>This happens in my <code>viewDidLoad</code>.  </p>
  
  <p>I have this NSLog now:</p>
  
  <pre><code>NSLog(@"buttonsView Width: \t%g\t%g\tHeight:\t%g\t%g",self.view.frame.size.width, buttonsView.frame.size.width, self.view.frame.size.height, buttonsView.frame.size.height);
  </code></pre>
  
  <p>With output:<br>
  iPhone:  </p>
  
  <blockquote>
    <p>buttonsView Width:     320 320 Height: 460 40  </p>
  </blockquote>
  
  <p>iPad:  </p>
  
  <blockquote>
    <p>buttonsView Width:     768 768 Height: 1004    40</p>
  </blockquote>
  
  <p>I also create another view like this for the top of the page which works fine:</p>
  
  <pre><code>dataView.frame=CGRectMake(
                               0,
                               0,
                               self.view.frame.size.width,
                               dataView.frame.size.height);
  </code></pre>