哪吒机器人提醒:

提醒:realazy
【标题】How to detect double taps in UIWebView
【摘要】you can use this robust approach, or this smart method. but the first is using the undocumented (private) api, and second is not working for me (and for somebody according to the comments on that blog post). so this is my solution.subclass uiwebview and put these lines under your implementation:- (uiview *)hittest:(cgpoint)point withevent:(uievent *)event{ cgpoint p = currentpoint; nstimeinterval t = currenttimestamp; currentpoint = point; currenttimestamp = [event timestamp]; if (cgpoi... (04-13 07:12)