remove slight delay when displaying callouts
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -1686,7 +1686,7 @@ | @@ -1686,7 +1686,7 @@ | ||
1686 | { | 1686 | { |
1687 | if (anAnnotation.layer && anAnnotation.isAnnotationOnScreen && anAnnotation.layer.canShowCallout && anAnnotation.title && ! [anAnnotation isEqual:_currentAnnotation]) | 1687 | if (anAnnotation.layer && anAnnotation.isAnnotationOnScreen && anAnnotation.layer.canShowCallout && anAnnotation.title && ! [anAnnotation isEqual:_currentAnnotation]) |
1688 | { | 1688 | { |
1689 | - [self performSelector:@selector(popupCalloutViewForAnnotation:) withObject:anAnnotation afterDelay:1.0/3.0]; // allows for MapKit-like delay | 1689 | + [self popupCalloutViewForAnnotation:anAnnotation]; |
1690 | } | 1690 | } |
1691 | 1691 | ||
1692 | if (_delegateHasTapOnAnnotation && anAnnotation) | 1692 | if (_delegateHasTapOnAnnotation && anAnnotation) |
-
Please register or login to post a comment