I set custom annotation output on the map when the annotation is clicked. I get a call for this method.
(void)mapView:(MKMapView *)mapView didSelectAnnotationView:(MKAnnotationView *)view NS_AVAILABLE(NA, 4_0)
in this method I want to open a popover, so I want the frame shape (MKAnnotationView *) to look, I get the right frame, and the map in normal mode.
but when I scale the map and click on the annotation, at this time I get the wrong frame at this time, the value of x and y is large, so any solution for any bias or scaling factor I get so that I divide so that I Get the actual annotation frame.
source share