【发布时间】:2017-01-26 20:54:32
【问题描述】:
我在里面做一个查询:
- (void)locationManager:(CLLocationManager *)manager didUpdateLocations:(NSArray *)locations{
if (!gotLocation){
gotLocation = true;
[locationManager stopUpdatingLocation];
// DO QUERY
}
}
但我想知道最终位置何时确定,或者何时确定更准确。我试图只查询一次,并且需要一个精确的查询位置。我知道我可以使用[locations lastObject],但我如何确定何时设置最终或更精确的位置。
【问题讨论】:
标签: ios cllocationmanager cllocation