I am trying to implement UIMapView and I did this task successfully but I want by default ZoomIn mapview at certain ratio how can I implement th开发者_StackOverflowis. Thank you.
Use this code
MKCoordinateSpan span;
span.latitudeDelta = 0.4;
span.longitudeDelta = 0.4;
Here
latitudeDelta (the vertical distance represented by the region), and
longitudeDelta (the horizontal distance represented by the region).
You can find more details about MKMapview here
BTW it is not UIMapView it is MKMapView...
精彩评论