title: self.view.bounds.size.height different values for iPhone and iPad
body: <p>Okay, aside from the obvious dimensions differences, I think I may have a logic error in my code that causing this inconsistency.</p>
  
  <p>I'm using <code>self.view.bounds.size.height</code> to determine the bottom edge of the screen and here's where the inconsistency lies.</p>
  
  <p>For reference, <code>loadingView</code> is always a consistent size.</p>
  
  <pre><code>if (loading==TRUE) {
          [UIView animateWithDuration:0.25 animations:^{
              [loadingView setFrame:CGRectMake(loadingView.frame.origin.x, self.view.bounds.size.height-loadingView.frame.size.height, loadingView.frame.size.width, loadingView.frame.size.height)];
          }];
      } else {
          [UIView animateWithDuration:0.25 animations:^{
              [loadingView setFrame:CGRectMake(loadingView.frame.origin.x, self.view.bounds.size.height+loadingView.frame.size.height, loadingView.frame.size.width, loadingView.frame.size.height)];
          }];
      }
  </code></pre>
  
  <p>I run the above function to show and hide a 'page loading' notification at the very bottom of my screen.</p>
  
  <p>Heres' my issue:</p>
  
  <p>iPad (correct):<br>
  <img src="https://i.stack.imgur.com/qohso.png" alt="enter image description here"></p>
  
  <p>iPhone (incorrect):<br>
  <img src="https://i.stack.imgur.com/3mQVU.png" alt="enter image description here"></p>
  
  <p>Now, obviously there's a height difference here and I'm not sure why it's occurring only in iPhone but not in iPad.</p>
  
  <p>I'm trying to make my app Universal, and obviously, I don't want lots of device checks throughout my code. There must be a more elegant way to determine the bottom edge of the device.</p>