Ignore mapView:didSelectAnnotationView when long press is occuring
问题 I am struggling with this one. I have a mapview with many pins in a small area. I want to ignore the mapview's selecting of an annotation when I am long pressing on the map, regardless if i am longpressing on an annotation view. It seems as though the annotation is getting selected on a touchDown, rather than touch up inside on the annotation view, which is annoying. I have added a longpress gesture to the mapview: UILongPressGestureRecognizer *longRec = [[UILongPressGestureRecognizer alloc]