在iOS 5中,这种方式运行良好,我的印象是MKMapKit的一切都会以相同的方式继续工作。但是,不是放大我的位置并添加我设置的注释,而是显示北美。我将注释从我的代码片段中移出,然后放入最初的代码设置。iOS 6中的地图问题
[mapView setMapType:MKMapTypeSatellite];
[mapView setZoomEnabled:YES];
[mapView setScrollEnabled:YES];
mapView.delegate = self;
MKCoordinateRegion region = { {0.0, 0.0 }, { 0.0, 0.0 } };
region.center.latitude = 32.385325 ;
region.center.longitude = -86.217442;
region.span.longitudeDelta = 0.005f;
region.span.latitudeDelta = 0.005f;
[mapView setRegion:region animated:YES];
任何想法为什么它不放大到我有它设置?
难道不是缩放可言,或者它缩放别的地方? – Craig 2013-03-12 22:13:21