在 iPhone IOS 3.1.2 中管理手势

发布于 2024-09-29 15:48:54 字数 599 浏览 2 评论 0原文

我正在使用 UIGesturerecognizer 来处理我的应用程序中的手势(滑动、点击、双击等)。

在具有 IOS 3.1.2 的设备中。我们尝试了该应用程序,但大多数手势根本没有响应,在我们所有配备最新 IOS(如 4.1)的设备中,该应用程序运行良好。似乎 UIGestureRecognizer 无法使用该策略来处理手势,因为它是在 SDK 3.2 中添加的。所以:

  • 必须使用诸如touchesEnded:withEvent,touchesMoved:withEvent:等方法来处理自己的手势,例如滑动,捏合,反捏,平移,多根手指双击等。如果我希望我的应用程序在IOS 3.1中工作。 2?
  • 忽略 IOS 3.1.2 并要求我的客户升级他们的固件更合理?或者放弃使用 UIGesturerecognizer 并自己实现手势是合乎逻辑的。
  • 有没有免费的库或资源可以帮助我在没有 UIGestureRecognizer 的情况下检测 IOS 3.1.2 中的这些手势?
  • 我使用的是最新的 SDK,并且只能测试 IOS 4.1 和 IOS 3.2。如何测试我的应用程序是否适用于 IOS 3.1.2?或配置我的模拟器以与此 IOS 配合使用?

谢谢。

I'm using UIGesturerecognizer to handle gesture (swipes, taps, double taps etc.) in my app.

In a device with IOS 3.1.2. We tried the app but most of the gestures simply don't respond, ina ll of our devices with recent IOS like 4.1 the app works perfectly. Seems like UIGestureRecognizer can't use that strategy to handle gestures, since it was added in the SDK 3.2. So:

  • Will have to handle myself gestures such as swipes, pinchs, counter pinchs, pans, double taps from multiple fingers with methods such as touchesEnded:withEvent, touchesMoved:withEvent: etc. If i want my app to work in the IOS 3.1.2?
  • It's more reasonable to ignore the IOS 3.1.2 and require my customers to upgrade their firmware ?, or it's logical to ditch the use of UIGesturerecognizer and implement the gestures myself.
  • It's out there a free library o resource to help me detect those gestures in the IOS 3.1.2 without UIGestureRecognizer ?
  • I'm using the latest SDK, and i only can test for IOS 4.1 and IOS 3.2. How can test my app for the IOS 3.1.2 ?, or configure my simulator to work with this IOS ?

Thanks.

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

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

发布评论

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

评论(1

我一向站在原地 2024-10-06 15:48:54

我使用安装有 iOS 3.1.2 的 iPhone 测试 iOS 3.1.2。
我根本不喜欢与 iOS 3.1.2 兼容。它包含许多错误。如果您想兼容iOS 3.1.2,您的iPhone必须安装旧版本iOS。

I test iOS 3.1.2 with an iPhone, which is installed with iOS 3.1.2.
I don't like to be compatible with iOS 3.1.2 at all. It contains many bugs. If you want to be compatible with iOS 3.1.2, you must have an iPhone which installed an old version iOS.

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