I am trying to display a map and drop a pin using MKMapView
. This is my code
MKCoordinateRegion region = { {0.0, 0.0 }, { 0.0, 0.0 } };
region.
I upgraded to XCode DP4 and all seems to be ok now.
I had the same issue, in my case it only happen when closing the UIViewController before the map completed loading all tiles. The fix was to set the mapView (MKMapView) delegate to nil when closing the view controller.
mapView.delegate = nil;
That was an error with the beta version. I would get that occasionally because of how they are loading the location tiles. Assuming it is working ok on beta 4, I wouldn't worry too much about. There are a few location/map issues they are still working out, so I wouldn't be surprised to find more by the time the beta period is done.