简体   繁体   English

使用XCode 4.2,是否可以使用Storyboard制作兼容iOS 4的应用程序?

[英]Using XCode 4.2, Is it possible to use Storyboards to make an iOS 4 compatible app?

I have searched for this answer, and have had mixed reviews. 我搜索过这个答案,并且评论不一。 Some say it SHOULD be possible (like using ARC), and some say it's not possible. 有人说它应该是可能的(比如使用ARC),有些人说这是不可能的。 Can anyone give me a definitive answer either way? 任何人都可以给我一个确定的答案吗?

According to apple NO. 根据苹果号 Apple always said storyboarding would only be for iOS5. 苹果一直表示,情节提要仅适用于iOS5。 But prove it to yourself. 但要向自己证明。 Start a new project, check use storyboarding, create the project. 启动一个新项目,检查使用故事板,创建项目。 Then change the target iOS to 4.3 and run, the view will not load. 然后将目标iOS更改为4.3并运行,视图将不会加载。

ARC will run even down to 4.2, though you can't use weak references below 4.3. ARC甚至可以运行到4.2,尽管您不能在4.3以下使用弱引用。

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

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