Tuesday, April 5, 2011

iPhone MKMapView force callout bubble

Is it possible to force the call out bubble to be open all the time? I tried putting the following code in didAddAnnotionViews:

for (id<MKAnnotation> currentAnnotation in mapView.annotations) {       
    [mapView selectAnnotation:currentAnnotation animated:NO];
}   

Which works, however, when I single tap the MKMapView the bubble disappear. I want to avoid this behavior.

From stackoverflow
  • I don't think it is. The solution is probably to make your pin design look like your callout. Would that help ?

0 comments:

Post a Comment