我希望能够在没有用户交互的情况下调用触摸事件。
这可能吗?
你可以手动调用触摸开始和触摸结束。
我认为可能有更好的解决方案,无论你想做什么,这似乎是一个非常传统的事情。
看看UIResponder's touchesBegan:withEvent:和touchesEnded:withEvent:
UIResponder's touchesBegan:withEvent:
touchesEnded:withEvent: