8

我希望能够在没有用户交互的情况下调用触摸事件。

这可能吗?

4

2 回答 2

0

您可以手动调用 touches begin 和 touches end。

我认为无论您尝试做什么,都可能有更好的解决方案,这似乎是一件非常非常规的事情。

于 2009-06-14T07:33:35.760 回答
-1

看看UIResponder's touchesBegan:withEvent:touchesEnded:withEvent:

于 2009-06-14T07:42:11.417 回答