The new iPhone is coming out and supposedly it’s going to have a 4-inch screen. Rather than making the device wider, Apple’s just going to add more pixels to the top of the screen for a bigger display, which might be pretty cool, but how how are your favorite apps going to look once they’re all stretched out like that?

Well if you have access to Apple’s developer tools (which you can totally download for free by the way), then you can run the iOS Simulator and this quick hack to see for yourself what apps will look like at a display resolution of 640 x 1136.

Here, try it out and let us know what you think.

Download File.txt into ~/Library/Application Support/iPhone Simulator (don’t change the name of File.txt ) Edit /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone Simulator.app/Contents/Resources/Devices/iPhone (Retina).deviceinfo/Info.plist and add the following keys: <key>eagle</key> <string>640</string> <key>giraffe</key> <string>1136</string> Quit the iOS Simulator app

When you run the iOS Simulator app again you should now be able to test out apps on the rumored resolution for the next iPhone. This hack works on Xcode 4.4.1+ and the iPhone 5.1 Simulator with the iPhone (Retina) device.

Source: Cedric Luthi

Via: Twitter