Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/objective-c/25.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在iPhone应用商店上启动应用程序的最佳实践_Iphone_Objective C_Cocoa Touch_App Store - Fatal编程技术网

在iPhone应用商店上启动应用程序的最佳实践

在iPhone应用商店上启动应用程序的最佳实践,iphone,objective-c,cocoa-touch,app-store,Iphone,Objective C,Cocoa Touch,App Store,这不是一个编程问题,而是关于iOS设备的iOS构建版本的最佳实践的问题 瞄准最新的iOS版本。 Targeting the latest release allows you to take advantage of all the features available in the latest version of iOS. However, this approach may offer a smaller set of users capable of installing your

这不是一个编程问题,而是关于iOS设备的iOS构建版本的最佳实践的问题

瞄准最新的iOS版本。

Targeting the latest release allows you to take advantage of all the features 
available in the latest version of iOS. However, this approach may offer a smaller 
set of users capable of installing your application on their devices because your     
application cannot run on iOS releases that are earlier than the target release.`
Targeting an earlier release lets you publish your application to a larger set of 
users (because your application runs on the target OS release and later releases), 
but may limit the iOS features your application can use.`
以较早的iOS版本为目标。

Targeting the latest release allows you to take advantage of all the features 
available in the latest version of iOS. However, this approach may offer a smaller 
set of users capable of installing your application on their devices because your     
application cannot run on iOS releases that are earlier than the target release.`
Targeting an earlier release lets you publish your application to a larger set of 
users (because your application runs on the target OS release and later releases), 
but may limit the iOS features your application can use.`
  • 现在,如果我的应用程序是为iOS5构建的,它将只在iOS5设备上工作。那么,在iOS 4.3版本中发布该产品是否更明智

  • <> L>>P>我应该考虑在iOS5设备上启动应用程序(iOS5发布后1个星期,iOS5发布后1个月)??p> 我应该在ios5发行版上启动一个新应用程序还是从iOS 4.3升级它?升级意味着它将不适用于4.3用户

  • 我的应用程序中特定于ios5的方法是什么?我应该把它们改回ios4.3吗

  • 请告知正在遵循的最佳实践



    注意:iOS5属于保密协议。这个问题不涉及任何违约,因为没有关于ios5 Beta的操作或方法的具体问题。请不要标记该问题。问题主要是关于应用程序启动的最佳实践

    这很明显,对吧?你想让你的应用程序尽快发布!如果这意味着要使它兼容4.3,那就这样吧。现在为iOS 5设备启动它没有任何意义。这不会让你领先,因为那里没有任何iOS5设备


    当iOS 5上市时,您可以随时返回并使用iOS 5的升级功能发布它

    否,为iOS 4.3启动应用程序的测试版,然后在iOS 5可用时,启动具有更多功能的更新版本,甚至让几位朋友试用,但要确保它运行平稳且没有错误。

    通常建议尽可能早地设置部署目标。然而,限制您设置它的时间可能是您可能正在使用的新操作系统功能。如果您正在使用旧操作系统版本中不存在的新API,那么您需要巧妙地对代码进行分支,并调用其他方法,或者以某种方式禁用该功能。这可能是容易的,也可能是困难的,这取决于功能以及它对应用程序功能核心的重要性

    需要明确的是,部署目标与编译它所依据的SDK版本不同。您总是希望使用最新发布的(非测试版)SDK编译应用程序。但是你可以在苹果官方支持的范围内设定部署目标。部署目标是运行应用程序所需的最低操作系统版本


    一旦苹果允许,你应该尽快提交与iOS5兼容的应用程序。从历史上看,这距离操作系统正式发布还有一到两周的时间。

    谢谢你的回答。你能对我对第二点的编辑发表评论吗?另外,关于您的声明,
    如果您使用的是旧操作系统版本中不存在的新API
    。。。我使用的定位服务在两个版本之间是不同的。总是根据最新的SDK编译。5.0发布后是否支持4.x取决于您。如果API不同,则需要根据操作系统版本进行分支。我想用
    UIDevice
    的方法会给你这个信息。在伪代码中,如果(osversion>=5.0){[UseIOS5:methods]}或者{[UseIOS4:methods]},您将执行类似的操作。或者,在发布5.0更新时,只需将部署目标设置为5.0,然后仅以iOS5方式进行。这完全取决于你是否想做向后兼容的工作。这是一个很好的答案,谢谢。是这样的,<代码> Surviv.OutoS/<代码>返回OS运行的版本,是吗?考虑遵循ON区域51。当iOS 5出来时,学习引入它的特性并尝试将这些特性应用到您的应用程序中!祝你好运