Tuesday 15 September 2015

iphone - Full screen mapkit map -


I have a mapkit view on an iPad and I want to show to all the world, but then I

  MK Cordineate region area; Region.center.latitude = 0.0f; Region.center.longitude = 0.0f; Region.span.latitudeDelta = 180.0f; Region.span.longitudeDelta = 360.0f; [Map set region: region];  

I have an error canceling the app because of an error-free exception 'NSInvalidArgumentException', Reason: 'Invalid Area' How is it OK?

Have you tried to use "area treffs"?

[mapView set region: [see Map area area blasts: area] Animated: TRUE];


No comments:

Post a Comment