How to develop or migrate apps for iPhone 5 screen resolution?

后端 未结 30 3842
醉话见心
醉话见心 2020-11-21 05:48

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

30条回答
  •  庸人自扰
    2020-11-21 05:56

    Using xCode 5, select "Migrate to Asset Catalog" on Project>General.

    Then use "Show in finder" to find your launch image, you can dummy-edit it to be 640x1136, then drag it into the asset catalog as shown in the image below.

    Make sure that both iOS7 and iOS6 R4 section has an image that is 640x1136. Next time you launch the app, the black bars will disappear, and your app will use 4 inch screen

    enter image description here

提交回复
热议问题