【发布时间】:2014-04-12 00:47:19
【问题描述】:
如何在 (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event 中检测自定义 annotationView 上的触摸?
我使用该代码,但它不起作用
[super touchesBegan:touches withEvent:event];
UITouch *touch = [touches anyObject];
if (touch.view == [CustomAnnotationView class])
{
【问题讨论】:
标签: ios annotations android-mapview uigesturerecognizer