iOs8 Touch Injection programmatically

2020-02-15 12:00发布

I want to inject the touch programmatically on iOs device. I have code which works fine for < iOs7 using "GSTouchEvent" BUT not working for iOs7+.

I have also tried using IOHIDEvents but that also does not work for iOs8.

What I need is : If I call something like this: postTouch(x, y, click); It should generate the touch on iOs device screen at (x,y) position.

标签: ios ios8
1条回答
倾城 Initia
2楼-- · 2020-02-15 12:26

May be this is what you need : https://github.com/iolate/SimulateTouch It works well for ios8.1

查看更多
登录 后发表回答