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 :)