How to simulate a touch event?

I want to be able to trigger touch events without user interaction.

Is it possible?

+8
events iphone touch multi-touch
source share
2 answers

You can manually call the touch start and touch the end.

I think there may be a better solution for everything you are trying to do. This seems like a very unusual thing.

0
source share

See UIResponder touchesBegan:withEvent: and touchesEnded:withEvent:

-one
source share

All Articles