iPhone应用程序兼容性问题

发布于 2024-09-14 17:08:03 字数 261 浏览 0 评论 0原文

我有一个应用程序使用了iphone4的新功能(MFMessageComposeViewController)。因为 iphone3 中不存在此类,所以我必须使用解决方法(旧代码)来完成此操作。

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

我在 iphone4 SDK 中编译了我的应用程序并且运行良好。 我想知道该应用程序在 iphone3 上是否可以正常运行。

I have an app used iphone4's new feature (MFMessageComposeViewController). because this class does not exist in iphone3, I have to use a workaround method (old code) to do the thing.

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

I compiled my app in iphone4 SDK and it runs well.
I want to know if the app cound run well in iphone3.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

装迷糊 2024-09-21 17:08:03

您必须在 iOS 3.x 上对其进行测试。不幸的是,我上次查看时,没有办法解决这个问题。

You've got to test it on iOS 3.x. Unfortunately, last time I looked, there was no way around this.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文