I have a location called savedLocation
that contains a location that I've pre-saved to my app.
I want to check if the savedLocation
and the user's current location are in the same city.
Creating the CLCircularRegion (saveLocation):
-(CLCircularRegion*)createCircularRegion
{
CLCircularRegion *region=[[CLCircularRegion alloc] initWithCenter:self.geoPoint radius:200 identifier:self.identifier];
region.notifyOnEntry=YES;
return region;
}
Note: this question is different from this question because in this question I ask how to compare 2 different location's city (without getting nil), the "duplicate" question is about a different thing.
Anyone have an idea how can I do that?
Thank you very much!