How to know when MKPinAnnotationView pin callout opens/closes

Posted by JOM on Stack Overflow See other posts from Stack Overflow or by JOM
Published on 2010-05-27T11:40:20Z Indexed on 2010/05/27 11:41 UTC
Read the original article Hit count: 474

Filed under:
|
|

I want to update pin callout (popup) subtitle either realtime, when I receive some new info from server, or at least when callout opens. So far it looks like pin + callout are created only once at...

- (MKAnnotationView *)mapView:(MKMapView *)aMapView 
        viewForAnnotation:(id <MKAnnotation>)annotation

...and then used as-is as long as it exists regardless how many times I tap it closed/open or scroll around keeping it visible. How can I update the subtitle?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about annotations