Simulate touch on ios7/8

和自甴很熟 提交于 2019-11-28 12:14:23

问题


I want to simulate a touch on iOS7/8, I googled and I found that the API are changed from iOS6 to iOS 7 and I should use the IOHIDEvent (in IOKit.framework) for touch events but I didn't get a good example to start PLZ if anybody have an idea to begin give me how to do it .


回答1:


You could begin by reading this : https://developer.apple.com/library/mac/documentation/DeviceDrivers/Conceptual/IOKitFundamentals/Introduction/Introduction.html, the official documentation.
And this : http://ios-blog.co.uk/tutorials/iokit-an-introduction/ , good tutorial :)



来源:https://stackoverflow.com/questions/26460614/simulate-touch-on-ios7-8

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