我没有通过使用 CLLocation 获得准确性
CLLocation *locA = [[CLLocation alloc] initWithLatitude:CurrentUserLocationNow.latitude longitude:CurrentUserLocationNow.longitude];
locB = [[CLLocation alloc] initWithLatitude:newLocation.coordinate.latitude longitude:newLocation.coordinate.longitude];
distance = [locA distanceFromLocation:locB];
int feet = distance*3.28084;
if(feet >= 40)
{
[avaudioplayer stop];
}
但我没有得到完美的准确性