앱 내에서 GPS의 정밀도를 높이는 방법은 없지만 결과의 정확도를 높일 수는 있습니다.
우선, CLLocationManger의 distanceFilter로 재생 해보십시오.
/*
* distanceFilter
*
* Discussion:
* Specifies the minimum update distance in meters. Client will not be notified of movements of less
* than the stated value, unless the accuracy has improved. Pass in kCLDistanceFilterNone to be
* notified of all movements. By default, kCLDistanceFilterNone is used.
*/
@property(assign, nonatomic) CLLocationDistance distanceFilter;
또한 원하는 정밀도
/*
* desiredAccuracy
*
* Discussion:
* The desired location accuracy. The location service will try its best to achieve
* your desired accuracy. However, it is not guaranteed. To optimize
* power performance, be sure to specify an appropriate accuracy for your usage scenario (eg,
* use a large accuracy value when only a coarse location is needed). Use kCLLocationAccuracyBest to
* achieve the best possible accuracy. Use kCLLocationAccuracyBestForNavigation for navigation.
* By default, kCLLocationAccuracyBest is used.
*/
@property(assign, nonatomic) CLLocationAccuracy desiredAccuracy;
그리고 마지막
, 당신은 검색 한 위치 업데이트의 정확도와 함께 연주한다. 정확하지 않은 위치를 없애기 위해서는 정확도를 기반으로 잘못된 위치 업데이트를 버리는 것이 좋습니다. 또한 실제 gps 정확도 신호를 얻는 데는 약간의 시간이 걸립니다.
감사합니다. 결과가 개선되었습니다. –