如何向 iPhone OS 发送触摸事件?

发布于 2024-08-12 05:32:15 字数 72 浏览 2 评论 0原文

我正在编写一个在越狱 iPhone 上在后台运行的应用程序。我需要将触摸事件发送到 iPhone OS 来模拟手指触摸。这可能吗?

Im writing an app running in background on a jailbreak iphone. I need to send touch event to iPhone OS to simulate finger touches. Is this possible?

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

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

发布评论

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

评论(2

深海夜未眠 2024-08-19 05:32:15

请参阅 Matt Gallagher 的文章 “在 iPhone 上合成触摸事件”< /a>.您还可以查看 Three20 框架,我相信使用合成触摸事件来测试 UI 元素(导致最近出现一系列申请被拒绝< /a> 由于使用私有 API)。

See Matt Gallagher's article "Synthesizing a touch event on the iPhone". You may also check out the Three20 framework, which I believe used synthesized touch events to test UI elements (leading to a rash of recent application rejections due to the use of private APIs).

|煩躁 2024-08-19 05:32:15

是的,使用 GSEvents 是可能的。尝试 KennyTM 的私有框架和 GSEvent.h。它位于 GraphicServices 框架下。
https://github.com/kennytm/iphone-private-frameworks

Yes it is possible, using GSEvents. Try the KennyTM's private framework and GSEvent.h. It is under the GraphicServices framework.
https://github.com/kennytm/iphone-private-frameworks

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