1
在Xcode的最新版本中,set region工作正常,现在在3.2.3中它不会捕捉到指定的区域?在3.2.3/OS4中破解的MKMapView - 无法设置区域
查看做负载后...
[mapView setMapType:MKMapTypeHybrid];
[mapView setZoomEnabled:YES];
[mapView setScrollEnabled:YES];
MKCoordinateRegion region = { {0.0, 0.0 }, { 0.0, 0.0 } };
region.center.latitude = 41.902245099708516;
region.center.longitude = 12.457906007766724;
region.span.longitudeDelta = 0.04f;
region.span.latitudeDelta = 0.04f;
[mapView setRegion:region animated:YES];
[mapView setDelegate:self];
这是工作得很好,现在没有捕捉到上述表示的位置代码,它只是显示世界地图。
任何帮助非常感谢。