简体   繁体   English

iPhone应用程序兼容性问题

[英]Iphone app compatibility question

I have an app used iphone4's new feature (MFMessageComposeViewController). 我有一个使用iphone4的新功能(MFMessageComposeViewController)的应用程序。 because this class does not exist in iphone3, I have to use a workaround method (old code) to do the thing. 因为此类在iphone3中不存在,所以我必须使用一种变通方法(旧代码)来执行此操作。

if ([self isVersion4]){ use new code } else { use old code }

I compiled my app in iphone4 SDK and it runs well. 我在iphone4 SDK中编译了我的应用程序,并且运行良好。 I want to know if the app cound run well in iphone3. 我想知道该应用程序在iphone3中是否运行良好。

You've got to test it on iOS 3.x. 您必须在iOS 3.x上对其进行测试。 Unfortunately, last time I looked, there was no way around this. 不幸的是,我上次查看时,无法解决此问题。

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

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