title: A toolbar is not where it should be
body: <p>I have an iPhone app. i'm trying to make it universal w/out new xibs. from a UI aspect, my app is fairly simple and straight forward, i just have a a UIImageview and some toolbars.</p>
  
  <p>i'm having an issue where i set my top toolbar to 0, 0 but it is appearing in the middle of my screen when its an iPad.</p>
  
  <pre><code>        topToolBar.frame = CGRectMake(0, (-1 * topToolBar.frame.size.height), topToolBar.frame.size.width, topToolBar.frame.size.height);
  </code></pre>
  
  <p>i initially hide the toolbar and show it if you tap the screen (works properly on iPhone). when i try to set the toolbar hidden on the iPad, its in the middle of the screen. when i nslog the frame, it shows (0, -44, 320, 44) which means it still thinks the screen size is iphone of (480, 320).</p>
  
  <p>the funny part is when i use my tap function to show/hide the toolbar, it behaves properly with a frame of (0, -44, 768, 44).</p>
  
  <p>my hide/show animation block is:</p>
  
  <pre><code>    [UIView animateWithDuration:.2
                        delay:0
                      options:(UIViewAnimationOptionAllowUserInteraction)
                   animations:^{
                       topToolBar.frame = CGRectMake(0, (-1 * topToolBar.frame.size.height), topToolBar.frame.size.width, topToolBar.frame.size.height);
                   }
                   completion:nil];
  </code></pre>
  
  <p>its the same code i use to try to initially hide the toolbar. any ideas what is going on?</p>