转换现有应用程序使其与iphone5兼容? [英] Conversion of existing applications to be compatible with iphone5?

查看:52
本文介绍了转换现有应用程序使其与iphone5兼容?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能重复:
如何为iPhone 5屏幕开发或迁移应用分辨率?

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

我在 iPhone 中有一些应用程序.现在,我希望它们与iPhone5 兼容.我需要在所有xibs中更改此设置,或仅更改.目前,我使用的是xcode4.2.我正在获取iPhone5模拟器,是否足够?或者我需要安装任何更高版本才能获取正确的模拟器. IPhone5的最新模拟器.有人可以帮助我实现这一过渡的确切步骤吗?

I have some applications in IPhone.Now i want them to be compatible to IPhone5.Somewhere i read that i need to change the splash screen to 4 inch.Shall i need to change this in all my xibs,or splash only.Currently i am using xcode4.2.i am getting IPhone5 simulator,is that enough or i need to install any later version to get the correct simulator.Where from i will get the latest simulator of IPhone5. Can anybody help me with the exact steps for acheving this transition?

推荐答案

您肯定需要安装XCode 4.5,并为4英寸屏幕创建一个新的启动图像,称为Default-568h@2x.png.

You definitely need to install XCode 4.5, and to create a new splash image for the 4-inch screen, called Default-568h@2x.png.

您不应更改xibs的大小,因为您希望您的应用程序可在新旧手机上使用.但是,您可能需要更改xib中某些视图的自动调整大小蒙版,以使它们拉伸以填充较大的屏幕.

You shouldn't change the size of your xibs, because you'll want your app to work on both old and new phones. However, you may want to change the autoresizing masks of some of the views in your xibs so that they stretch to fill the larger screen.

这篇关于转换现有应用程序使其与iphone5兼容?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆