How to listen all touch events on a jailbreak ios device even the app is running in background

645 Views Asked by At

I want to know how can I listen all touch events on a jailbreak ios device even the app is running in background. This feature was implemented in an app named AutoTouch. Any ideas or suggestions?

2

There are 2 best solutions below

0
On

It is possible to capture system wide touch events just by private api without jailbreaking (ofcourse it will work on jailbroken device too).. Here's the link. It also contains link to github example.

0
On

take a look at the libactivator, the standard tool on jailbreaked iDevices to handle touchevents -> https://github.com/rpetrich/libactivator