How to develop / migrate apps for the iPhone 5

1. Set a 4-inch launch image for your app called Default-568h@2x.png

This is how you get 1136 px screen height (without it, you will get 960 px with black margins on top and bottom).

This should be enough.

2. If not, adjust your view layouts with proper auto resizing masks or look into Auto Layout if you only want to support >= iOS 6.

If you need to some specific resizing then check the height of [[UIScreen mainScreen] bounds] (or applicationFrame, but then you need to consider status bar height if it's present) as there seems to be no specific API for that.

http://stackoverflow.com/questions/12395200/how-to-develop-or-migrate-apps-for-iphone-5-screen-resolution

 

Leave a Reply

Your email address will not be published. Required fields are marked *