How to capture and record iOS Touch Events at system level?

元气小坏坏 提交于 2019-12-10 23:18:39

问题


I want to capture all the touch events at the system level, I do not mean capturing at one specified app, but all the apps even the SpringBoard.I tried IOHIDEvent(https://github.com/kennytm/iphone-private-frameworks/tree/master/IOKit/hid), but the runtime headers was changed after iOS4, and now I can not get them of iOS6. May be GSEvent is also a good way, but does anyone known how to do this by GSEvent? Thank you!


回答1:


Take a look at EntryDevLevel excellent answer here on how to capture and record clicks on iOS using iOHID:

iOS touch event notifications (private API)

BTW. His solution works on non jailbroken iOS either.



来源:https://stackoverflow.com/questions/17107001/how-to-capture-and-record-ios-touch-events-at-system-level

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!