How to delay callout from showing when annotation selected in MKMapView? Swift 4
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
0
1
(This is my first stack overflow question haha) UPDATE: From this link - Center MKMapView BEFORE displaying callout I implemented the solution from Thermometer, however selecting and deselecting the annotation makes it look like my application is glitching. I think the best way would be to delay the callOut (detail pop up) from appearing by a few seconds so the map has time to move first. Here is my code: func mapView(_ mapView: MKMapView, didSelect view: MKAnnotationView) { guard let annotation = view.annotation else { return } let currentAnnotation = view.annotation as? MapMarker Global