简体   繁体   English

如何在所有旧的iPhone设备上运行ios 6(iPhone 5)应用程序?

[英]How to run ios 6 (iPhone 5)app in all old iphone devices?

I have developed an iPhone App in IOS 6.0 simulator which is running fine for iPhone 5(Retina 4). 我已经在IOS 6.0模拟器中开发了一个iPhone App,该App在iPhone 5(Retina 4)上运行良好。 but it is not running comfortable for old iPhone devices. 但是对于旧的iPhone设备来说,运行起来并不舒服。 i want some solutions that what i have to do? 我想要一些我必须要做的解决方案? do i have to write some code for this that for each device it should run comfortable. 我是否必须为此编写一些代码,以便让每台设备都能正常运行。 FINAL conclusion is that i want my iPhone APP which is developed in ios 6.0 for iPhone 5 must also run on all old iPhone devices... Please give some link or any tutorial or any example so that it will easy for me to do this. 最终结论是,我希望在ios 6.0中为iPhone 5开发的iPhone APP也必须在所有旧的iPhone设备上运行...请提供一些链接或任何教程或任何示例,以便我轻松进行。

First, you have to decide if you actually care about those older devices. 首先,您必须确定您是否真的在乎那些旧设备。 The market share for iOS 4.x devices and lower is probably less than 5% at this point ( source , though he tracks only iOS 4.x and up). 目前,iOS 4.x及更低版本设备的市场份额可能不到5%( 来源 ,尽管他只跟踪iOS 4.x及更高版本)。

If it's a performance issue on older devices, then you may have to turn off fancier features for them (eg turn down the complexity of a 3D app, use fewer animations and cache less often, use lower-resolution assets, etc.). 如果这是旧设备上的性能问题,那么您可能必须关闭它们的高级功能(例如,降低3D应用程序的复杂性,减少动画使用量并减少缓存次数,使用较低分辨率的资产等)。 If it's a compatibility issue with earlier OS versions, you will have to target a lower iOS version in your development. 如果与较早的OS版本存在兼容性问题,则必须在开发中定位较低的iOS版本。

If you must use features from iOS 5 and later, then you would probably be better off just dropping support for older devices (this is the path Apple encourages for the most part, especially for new apps). 如果您必须使用iOS 5及更高版本的功能,则最好放弃对旧设备的支持(这是Apple在大多数情况下特别是对新应用程序的鼓励)。 It will also reduce your development costs to focus only on newer platforms, though you do have to be mindful of the tradeoff. 尽管您必须注意折衷方案,但也可以减少仅专注于更新平台的开发成本。

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

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