У меня есть UIScrollView
без подвидов. Когда я перетаскиваю вид прокрутки, его hitTest: withEvent:
вызывается три раза, и в событии никогда не происходит никаких касаний. Почему это так (я видел другой пост, но, похоже, в нем нет заключения)? Вот журнал hitTest ...
в представлении прокрутки и pointInside: withEvent:
2011-05-11 20:12:37.472 MyApp[10909:707] hit test for UIScrollView 119.500000,102.000000, timestamp: 357978 touches: {()} 2011-05-11 20:12:37.475 MyApp[10909:707] pointInside for UIScrollView 119.500000,102.000000, timestamp: 357978 touches: {()} 2011-05-11 20:12:37.477 MyApp[10909:707] hit test for UIScrollView 119.500000,102.000000, timestamp: 357978 touches: {()} 2011-05-11 20:12:37.479 MyApp[10909:707] pointInside for UIScrollView 119.500000,102.000000, timestamp: 357978 touches: {()} 2011-05-11 20:12:37.481 MyApp[10909:707] hit test for UIScrollView 119.500000,102.000000, timestamp: 358021 touches: {()} 2011-05-11 20:12:37.482 MyApp[10909:707] pointInside for UIScrollView 119.500000,102.000000, timestamp: 358021 touches: {()} 2011-05-11 20:12:37.484 MyApp[10909:707] pointInside for UIScrollView 119.500000,396.000000, timestamp: 358021 touches: {()}