简体   繁体   English

发行我的应用的独家ios5版本

[英]Release an exlusive ios5 version of my app

I recently found my app doesn't work on iOS 5 and I have a few users who have asked that I release an older version that works on iOS5. 我最近发现我的应用程序无法在iOS 5上运行,并且有一些用户要求我发布在iOS5上运行的旧版本。 One of them sent me this link http://news.softpedia.com/news/Apple-Enables-Pre-iOS-7-Downloads-Offers-Old-App-Versions-When-Necessary-383663.shtml Is there any way to release two versions of my app? 其中一个给我发送了此链接http://news.softpedia.com/news/Apple-Enables-Pre-iOS-7-Downloads-Offers-Old-App-Versions-When-Necessary-383663.shtml有什么办法吗发布两个版本的应用程序? One for ios6+ and one for ios5? 一种适用于ios6 +,一种适用于ios5?

Apple does not provide a way to do this, but there is a way to do it yourself if you REALLY want to. Apple没有提供执行此操作的方法,但是如果您确实愿意,则可以自行执行操作。

You have to create a new app id and name, (eg: MyApp for iOS 5). 您必须创建一个新的应用程序ID和名称(例如:iOS 5的MyApp)。 Then you have to set the deployment target of your iOS 5 app to iOS 5. Of course, someone with iOS 6 or 7 could also install it, so you might want to detect the the system version (via UIDevice) and offer to take them to the app store to get the newer version. 然后,您必须将iOS 5应用程序的部署目标设置为iOS5。当然,具有iOS 6或7的人也可以安装它,因此您可能想要检测系统版本(通过UIDevice)并提出采用它们到应用商店以获取更新的版本。 You'll end up with two apps in the app store and your users will have to figure out which one is the best one for them. 您最终将在应用程序商店中拥有两个应用程序,您的用户将不得不确定哪个是最适合他们的。

You're probably better off trying to get your existing app to work on iOS 5 and fix whatever issues you're encountering with that OS (unless you're using autolayout--which is not supported on iOS 5 and would mean you'd likely have to re-do a lot of your UI for that OS version). 您最好尝试使现有的应用程序在iOS 5上运行并修复该OS遇到的任何问题(除非您使用的是自动布局),iOS 5不支持自动布局,这意味着您会可能必须为该OS版本重新做很多UI)。

That said, there's a diminishing return on investment to support older versions of iOS. 也就是说,支持较旧版本的iOS的投资回报率正在下降。 Most people update to the latest version of iOS pretty quickly and the number of users stuck with an old version of the OS who are unable to upgrade is going to steadily shrink. 大多数人会很快更新到最新版本的iOS,而无法升级到旧版本操作系统的用户数量将稳步减少。

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

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