I have several annotation pins on the map. I would like to show info on the one of the default pin by triggered showCallout I know how to implement by tapped, but I dont know without tapping on the annotation, how could it show showCallout? Thanks in advance
Have you tried this:
id<MKAnnotation> myPin = [mapView.annotations objectAtIndex:0];
[mapView selectAnnotation:myPin animated:YES];
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.