Oksana Oksana - 3 months ago 10
iOS Question

MKMapView calling didSelectAnnotationView

I use

MKMapView
. On map I show clickable
AnnotationViews
.
After click on
AnnotationView
, I push MyController to
NavigationController
.
In MyController I click on the back button, after this my previous controller is show (do pop controller).
When I click on
AnnotationVIew
in my previousController callback didSelectAnnotationView does not rased. Why it happened?

Answer

It because when I click on annotation it annotation selected and when I click on this annotation again it does not call callback didSelectAnnotationView, because this annotation already selected.