¡@

Home 

2014/10/15 ¤U¤È 10:14:11

iphone Programming Glossary: showcallout

Mapkit, how to detect annotations have loaded

http://stackoverflow.com/questions/4083491/mapkit-how-to-detect-annotations-have-loaded

popup when the pin has finished it's drop animation. Currently I am able to simulate it with the following method void showCallOut myMapView selectAnnotation myMapView.annotations objectAtIndex 0 animated YES In my viewDidLoad is where my annotation is.. is where my annotation is created myMapView addAnnotation annotation The problem is that you simply can't callout self showCallOut after that because at run time it responds before MapKit has acknowledged the annotation drop. I need to either create a.. a delay Would like to avoid this or find the proper way to detect when annotations are in place and then run the showCallOut method. Thanks for any help Thanks to aBitObvious below for providing a solution void mapView MKMapView mapView didAddAnnotationViews..