iphone - Sanity Check an MKCoordinateRegion -
Is there any way to quickly test whether a MKCoordinateRegion
is good or is not? I swap latitude for longitude and cause an application accident. I want to see whether it is possible before it is possible to perform a setRegion
to do this before I actually do it. MKCoordinateRegionMake
Will the values I test give to it?
Thank you.
It was discovered that I had switched my latitude and longitude somewhere. Here the code has ended using I:
// checks for the sensible term values, then (currentRegion.span.latitudeDelta
Comments
Post a Comment