简体   繁体   English

在iPhone 4.3.3中运行iOS 5应用程序

[英]Run iOS 5 application in iPhone 4.3.3

我正在为iOS 5创建一个iPhone项目。我需要知道是否可以在iPhone 4.3.3及更高版本中运行该程序吗?

Are you using anything in your code that was introduced with iOS 5.0 & newer? 您是否在代码中使用了iOS 5.0及更高版本中引入的任何内容? (such as storyboards) (例如情节提要)

If your answer is yes, then you can't run it on 4.3.3. 如果您的回答是肯定的,那么您将无法在4.3.3上运行它。

If no, then you can set the minimum required version to 4.3.X ( and here's a tutorial you can use ). 如果不是,那么您可以将最低要求版本设置为4.3.X( 这是您可以使用的教程 )。

Here is a related question ( and another one ) that may help you out a bit more. 这是一个相关的问题和另一个 问题 ),可能会帮助您更多。

IIRC, you can configure the simulator in xCode to emulate an earlier version of iOS so you can confirm whether or not it will work on 4.3.3. IIRC,您可以在xCode中配置模拟器以模拟iOS的早期版本,从而可以确认它是否可以在4.3.3上运行。 Have a look at the build settings for your project, you can change the target O/S. 查看项目的构建设置,即可更改目标操作系统。 I'm not sure all versions are available by default though. 我不确定默认情况下是否所有版本都可用。 You might need to download other versions to test. 您可能需要下载其他版本进行测试。

You said you are using ARC. 您说您正在使用ARC。 ARC will work with iOS 4.x, but not iOS 3.x. ARC将与iOS 4.x一起使用,但不适用于iOS3.x。 So ARC will not be a problem. 因此,ARC不会成为问题。 Based on everything else you said about not using storyboards and everything being coded, you should be okay. 根据您所说的关于不使用情节提要板的所有内容以及所有已编码的内容,您应该可以。 If you click on a method in Xcode it should allow you to bring up the documentation, and in the documentation it will provide the iOS version that it was released for. 如果单击Xco​​de中的方法,则应允许您调出该文档,并且在文档中将提供为其发行的iOS版本。 Make sure that this it iOS 4.3.3 or lower. 确保它是iOS 4.3.3或更低版本。

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

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