Skip to content

Ryu0118/TouchSimulator-iOS14

Repository files navigation

TouchSimulator-iOS14

Simulate touch tool working on iOS14.
Also, it currently does not work on the keyboard.

#import"TouchSimulator.h"

%ctor{
simulateTouch(TOUCH_DOWN,100,100);
simulateTouch(TOUCH_MOVE,100,300);
simulateTouch(TOUCH_UP,100,300);
}

Usage

If you want to simulate touch in any app, execute thesimulateTouchin the%ctorblock (only available on Jailbroken device).
If you only simulate touch in certain applications, execute thesimulateTouchat any time.

CopyTouchSimulator.xm,TouchSimulator.handheaders/to your project directory

Tap

simulateTouch(TOUCH_DOWN,100,100);
simulateTouch(TOUCH_UP,100,100);

Drag

simulateTouch(TOUCH_DOWN,100,100);
simulateTouch(TOUCH_MOVE,100,300);
simulateTouch(TOUCH_UP,100,300);

About

simulate touch tool working on iOS14

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages