How to simulate touch event?
I want to be able to invoke touch events without user interactions.
Is this possible?
you could manually call touches begin and touches end.
I think there may be a better solution to whatever you are trying to do, This seems like a very unconventional thing to do.
看看UIResponder's touchesBegan:withEvent:
和touchesEnded:withEvent:
上一篇: 如何链接到应用商店中的应用
下一篇: 如何模拟触摸事件?