ユーザーがUIWebviewに触れたときにhittestを使用してピックアップしています。ユーザーがいつビューに触れるのをやめたのかを知る必要がありますが、hittest からイベントを取得できません。これを行う別の機能はありますか?
- (void)hitTest:(CGPoint)point withEvent:(UIEvent *)event
{
NSLog(@"Event type:%@", event.type);
if (event.type == UIEventTypeTouches) {
NSLog(@"Got something");
}
// call the super
[super hitTest:point withEvent:event];
}