0
사용자가 내 UIWebview를 터치 할 때 pickt를 사용하고 있습니다. 사용자가보기를 멈 추면 알아야하지만 hittest에서 이벤트가 발생하지 않습니다. 이 작업을 수행하는 또 다른 기능이 있습니까?Hewlet for touch for UIWebView
- (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];
}
아이디어가 없습니까? 내 이벤트 유형은 항상 "없음"입니다. – Adam