Get info on a mapview selected annotation

Posted by rson on Stack Overflow See other posts from Stack Overflow or by rson
Published on 2009-11-12T15:02:08Z Indexed on 2010/04/07 23:03 UTC
Read the original article Hit count: 642

Filed under:
|
|
|

I have annotations on a mapview and a callout with a button on each. What I need to do is grab properties from this callout, ie. the title, but logging this line:

NSLog(@"%@", mapView.selectedAnnotations);

returns <AddressAnnotation: 0x1bdc60> which obviously gives me no useful info...

My question is, how can I access the properties of a selected annotation callout?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about mapkit