I have a mapview where the annotation\'s coordinates are constantly being updated but when I use setCoordinate, the annotation does not move. How do I refresh the annotation
Swift 3.0 version of Nathan's answer (thank you Nathan):
DispatchQueue.main.async {
mapView.addAnnotation(annotation)
}
Side note, Nathan's answer should have far more upvotes. I actually needed this help with removing an annotation, the same issue exists and is fixed by dispatching the update to the main queue.