PDA

View Full Version : New items in UIApplication - Bigger screen on iPhone 5?




jamesodmitchell
Jun 12, 2012, 04:13 AM
Me and another developer were looking through the API differences in iOS 6 and came across this:

Added #def UIInterfaceOrientationAllButUpsideDownMask

Added #def UIInterfaceOrientationAllMask

Added #def UIInterfaceOrientationLandscapeLeftMask

Added #def UIInterfaceOrientationLandscapeMask

Added #def UIInterfaceOrientationLandscapeRightMask

Added #def UIInterfaceOrientationPortraitMask

Added #def UIInterfaceOrientationPortraitUpsideDownMask

They have added mask properties to UIApplication. Is this for the new screen dimensions for the iPhone 5 making it 16:9?

We have tried to hack the simulator this morning and make it run at 1136 but this did not work. Any ideas on hack iPhone simulator to support new resolution?



Sonisk
Jun 12, 2012, 04:18 AM
I noticed something weird today, when I was testing the game we are developing under iOS 6. I asked Siri to play the game, and it launched the game, but the resolution seemed scaled down or something, like it looked a bit pixelerated. I then pressed the home button, starting the game again, and everything looked fine. Really odd. My first thought was, that it might try to open it for some other screen-resolution than what my 4S is running with. Can't really explain it otherwise.

andyyardley
Jun 12, 2012, 04:19 AM
In our defence of trying to hack the simulator we didn't try very hard as we've actually got a day job to do instead :(