I am putting annotation
on a map and after clicking the pin, there should be a detail disclosure info button
on the right side, so I can add more code after tapping the button. But when I run the project, clicking on the pin, there is no info button
shows up. Can anyone provide code to add disclosure info button
?
I am expecting an info button on the right:
My Code:
extension ViewController: MKMapView{
func mapView(mapView: MKMapView!, viewForAnnotation annotation: MKAnnotation!) -> MKAnnotationView! {
}