title: xcode 6 is iphone 5 no longer 568 points in height?
body: <p>So I'm trying to update my game to fit the iPhone 6 properly and i see now that when i run my game on the iPhone 5 simulator, everything is fitting as if it were an iPhone 4. I use if statements to determine the height of the device:</p>
  
  <pre><code>if ((int)[[UIScreen mainScreen] bounds].size.height == 568)
  {
      mylabel4.fontSize = 35;
      mylabel4.position = CGPointMake(CGRectGetMidX(self.frame) -145, CGRectGetMidY(self.frame) -130);
  } else {
      mylabel4.fontSize = 35;
      mylabel4.position = CGPointMake(CGRectGetMidX(self.frame) -110, CGRectGetMidY(self.frame) - 130);
  }
  </code></pre>
  
  <p>And like i said when i run the iPhone 5 simulator, it runs the code in the 'else' bracket. Its like the iPhone 5 is no longer 568 points in height. This was working fine until i download Xcode 6? What's going on here?</p>