The new iPhone 5 display has a new aspect ratio and a new resolution (640 x 1136 pixels).
What is required to develop new or transition already existing applications to the new screen size?
What should we keep in mind to make applications "universal" for both the older displays and the new widescreen aspect ratio?
In case you want to enter custom resolution you have to do it manually, by going to Settings> Upscale in the lower section, you can enter your custom resolution in the “x” and “y” sections.
Just as predicted, Apple's brand-new iPhone 5 comes with a 4-inch display with a 16:9 aspect ratio and an 1136 x 640 resolution. That's good for 326 pixels per inch, exactly the same as the Retina display in the iPhone 4 and 4S.
Answer: A: You enabled Zoom in the Accessibility app. Start by double-tapping the screen with THREE fingers. Then go to settings/general/accessibility and turn off Zoom.
[[UIScreen mainScreen] bounds]
as there seems to be no specific API for that. As of iOS 8 there are also size classes that abstract screen sizes into regular or compact vertically and horizontally and are recommended way to adapt your UI.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With