更新时间:2022-12-26 10:46:39
Look into
-(void)locationManager:(CLLocationManager *)manager didUpdateLocations:(NSArray *)locations;
and use this to get your current location:
[locations lastObject];
and to get distance use this:
distanceFromLocation: