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.
Have a look at UIResponder's touchesBegan:withEvent:
and touchesEnded:withEvent:
来源:https://stackoverflow.com/questions/992299/how-to-simulate-touch-event