I\'m trying to add MKAnnotationView to MKMapView but I can\'t do it… Can anyone help me?
MKAnnotationView
MKMapView
Here is my code:
override func vie
You have to show annotation, then you have to add the show annotation method:
let annotation = MKPointAnnotation() mapVew.showAnnotations([annotation], animated: true)
annotation is an instance of MKPointAnnotation.
annotation
MKPointAnnotation