iOS - 在后台运行的应用程序可以将触摸/手势事件发送到前台的另一个应用程序吗? [英] iOS - Can an app running in the background send touch / gesture events to another app in the foreground?

查看:145
本文介绍了iOS - 在后台运行的应用程序可以将触摸/手势事件发送到前台的另一个应用程序吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我被要求开发一个应用程序,它将记录并稍后回放触摸和手势到另一个在前台运行的应用程序。

I have been asked to develop an app that will record and later "play back" touches and gestures onto another app running in the foreground.

根据我的经验和知识,这是不可能的,除非两个应用程序都设置为通过通知或其他方法在它们之间发送/接收数据。此外,对于应用及其数据暴露给任何人来说都是一个巨大的风险。

From my experience and knowledge, this is not possible unless both apps are setup to send/receive data between them through notifications or other methods. Also, it would be a huge risk for apps and their data to be exposed to anybody.

我99%肯定这是不可能的,但只是好奇,如果有人否则遇到了类似的事情(或者说明文禁止这样做的文件)。

I am 99% sure this is not possible, but was just curious if anyone else has come across something similar (or documentation that specifically states this is forbidden).

推荐答案

不可能,不可以不怎么样,甚至不尝试。

Nope not possible, no way no how, dont even try.

如果这是在越狱手机上运行的话,扩大答案.......

Expanded answer, if this runs on a jailbroken phone.......

是....但祝你好运,

Yes.... but good luck,

检查Saurik的Veency代码以获得此类功能,它必须重新进行重构,但基本上它允许虚拟化点击。

check Saurik's Veency code for this sort of functionality, it would have to be refactored signifcantly but basically it allows for virtualization of taps.

https://github.com/iceNuts/ TouchTest

http:// gitweb .saurik.com / veency.git

这篇关于iOS - 在后台运行的应用程序可以将触摸/手势事件发送到前台的另一个应用程序吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆