iphone - How to tell which MKPinAnnotation has been pressed? -


i have mkmapview , have whole bunch of mkpinannotations being shown , of them have call out feature shows more detail view depending on location is..

how can implement method tells pin has been pressed out of group shows more detail view location?

implement mkmapview delegate:

- (void) mapview: (mkmapview *) mapview didselectannotationview: (mkannotationview *) view 

and can whatever need in there.

but think after enabling map callout accessory. see mapcallouts sample application http://developer.apple.com/library/ios/#samplecode/mapcallouts/introduction/intro.html#//apple_ref/doc/uid/dts40009746


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

c# - How to execute a particular part of code asynchronously in a class -

c# - Asterisk click to call -