简体   繁体   English

开发将在所有iPhone设备上运行的iPhone App

[英]Developing iPhone App that will run on all the iPhone devices

I have to develop an app that should run on all the iPhone devices, whether it is iPhone 4/4S, iPhone 5/5S, or iPhone 6/6+, using Xcode 6.1.1. 我必须使用Xcode 6.1.1开发一个应在所有iPhone设备上运行的应用程序,无论是iPhone 4 / 4S,iPhone 5 / 5S还是iPhone 6/6 +。 Will an app developed using Storyboard run on devices prior to iPhone 5? 使用Storyboard开发的应用程序能否在iPhone 5之前的设备上运行?

If not, then what things should I consider so that app will run seamlessly on all the iPhone devices? 如果没有,那么我应该考虑些什么,以便该应用程序在所有iPhone设备上无缝运行?

Storyboard and ARC will work till iOS 5. 故事板和ARC将在iOS 5之前运行。

Apple Document: Storyboard Compatibility 苹果文档: 情节提要兼容性

Note: This are Some Nice Tutorials About AutoLayout. 注意:这是一些有关自动版式的不错的教程。

AppCoda , raywenderlich 雷· 温德利奇

Try to adapt with Size classes and auto layout. 尝试适应Size类和自动布局。 First I didn't know how autolayout and sizeclasses work, and it was so tough for me. 首先,我不知道自动布局和sizeclass如何工作,这对我来说是如此艰难。 Yeah, now the problem with multiple screen is not a big deal anymore. 是的,现在多屏问题不再重要。

Please read apple's docs: 请阅读苹果的文档:

Auto Layout Link Size Classes Link 自动版式链接 大小类别链接

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM