Simulate touch library for iOS
You can make fake touch(even multi-touch) and swipe.
Support iOS6 and 7
REQUIREMENT: RocketBootstrap by Ryan Petrich (https://github.com/rpetrich/rocketbootstrap)
API Info: http://api.iolate.kr/simulatetouch/
and refer to main.mm (stouch; command line tool) for how to use.
There are two components in this project:
This hooks into com.apple.backboardd and exposes a Mach messaging port defined as MACH_PORT_NAME, current code value is kr.iolate.simulatetouch. It listens for Mach messages and uses IOHIDEvents to simulate touches/swipes/buttons.
Interprets command line requests into Mach messages and sends it to MACH_PORT_NAME Mach port.
Follow instructions to setup Theos here.
- Install the
rocketbootstrapon the device and copyrocketbootstrap.hand ``rocketbootstrap_dynamic.hfrom/usr/include/` to your `$THEOS/usr/include/`. - Copy
/usr/lib/librocketbootstrap.dylibfrom device to your$THEOS/usr/include.
Get it from rpetrich's RocketBoostrap repo.
- Install
simulatetouchon the device and copy/usr/lib/libsimulatetouch.dylibfrom device to your$THEOS/usr/lib.