如何在我的iPhone4上模拟点击事件? IOS

时间:2011-07-04 02:18:59

标签: iphone

我想生成鼠标点击事件在我的iPhone4中,我该如何实现它?

1 个答案:

答案 0 :(得分:4)

没办法。由于没有鼠标:)

无论如何,您需要发送sendActionsForControlEvents消息

[aResponder sendActionsForControlEvents: UIControlEventTouchUpInside];