简体   繁体   English

为iPhone OS 2.0和3设计吗? 那可能吗?

[英]Designing for iPhone OS 2.0 and 3? Is that possible?

I have an application built for iPhone 2.0 but I would like to use StoreKIT to offer in-app purchase. 我有一个为iPhone 2.0构建的应用程序,但我想使用StoreKIT提供应用程序内购买。

If I recompile the code under 3.0, I can use StoreKIT but I will piss those who bought my app and do not upgraded to 3.0. 如果我在3.0以下重新编译代码,则可以使用StoreKIT,但会激怒那些购买我的应用程序但未升级到3.0的用户。

Is that a way to create a code that can work on both worlds? 这是一种创建可以在两个世界都适用的代码的方法吗? If yes, what steps should I follow? 如果是,我应该遵循什么步骤?

thanks for any help. 谢谢你的帮助。

See this question about how to use 3.0-only features in a 2.0 compatible app. 这个问题有关如何在2.0兼容的应用程序中使用3.0独有特性。 The sample code is for using the mail compose controller, but you should be able to do this with the store kit framework too. 该示例代码用于使用邮件撰写控制器,但是您也应该能够使用store kit框架来执行此操作。

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

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