How in Swift to display details of multiple dropped pins

In Swift, I can add map annotation and display details using segue of a dropped pin when the user clicks the "i", but I am having trouble displaying details of multiple dropped pins using segue; unlike ViewTable no index is involved here. How do I do that?

Answers


Can this give you some hint?

func mapView(mapView: MKMapView!, annotationView view: MKAnnotationView!, 
         calloutAccessoryControlTapped control: UIControl!) {
    //get the annotation ,maybe you need cast the type
    // let anno = view.annotation
    //performSegue here

}

Need Your Help

C# Compiler Warning 1685

c# .net compiler-warnings

So, (seemingly) out of the blue, my project starts getting compiler warning 1685:

Extracting Important words from a sentence using Node

node.js nlp

I admit that I havent searched extensively in the SO database. I tried reading the natural npm package but doesnt seem to provide the feature. I would like to know if the below requirement is somew...