0

Implement UITouches Gesture grammatically:

I want to implement touches gesture by xcode itself, I looked iOS create touch event programmatically but there is no answer.

If I am searching any wrong thing please let me know.

4

1 回答 1

0

It's not easy to synthesize a touch event on the iPhone: you have to use undisclosed API, so you have a high probability of breaking on every update of the iOS and getting rejecting from Apple.

Here's a link that demonstrates how to synthesize a touch event on the iPhone:

Here's another question on StackOverflow: How to send a touch event to iPhone OS?

于 2013-08-14T08:56:44.120 回答