iphone - MKMapView regionWillChangeAnimated Zoom or Pan? -
I must know whether an area was changed due to zooming or panning.
I was able to find out for the area, it was estimated by comparing it with keeping track of the old area period and comparing it with a zoom.
Change the problem with the area. Already this is said before the field, so I do not know how long the area's duration will be.
Is there any other way to find out?
Thank you.
You have mapView: regionWillChangeAnimated:
in the last code, which is zooming or scrolling Calls many times during
You can use code from: MKZoomScale currentZoomScale = (CGFloat) (map.bounds.size.width / map.visibleMapRect.size .width);
Comments
Post a Comment