Make iOS application compatible with iPhone6 and iPhone6+ sizes [closed]

元气小坏坏 提交于 2019-12-01 12:34:51

问题


I have created an application in which I have used an .xib for layout. Currently I use two different .xibs, one for iPhone4 320*480 and one for iPhone5 320*568. I am not using auto layout.

Now iPhone6 and iPhone6+ are available, with two different sizes, 4.7 inch and 5.5 inch.

How can I make my app compatible with these sizes?


回答1:


Easiest way is to download Xcode 6 GM (which was released today) and then run your app and see how it looks. You may not have to do anything at all as iPhone 6 and iPhone 6 Plus will scale most older apps seamlessly. Reference: http://www.imore.com/all-13-million-ios-apps-will-instantly-scale-iphone-6-and-iphone-6-plus

I also tried this out myself on my app (designed for 4" screens) and it worked well in both the iPhone 6 and iPhone 6 Plus in the simulator.



来源:https://stackoverflow.com/questions/25757369/make-ios-application-compatible-with-iphone6-and-iphone6-sizes

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!