iPhone SDK: CLocationAccuracy. What constants map to what positioning technology?
Posted
by buzzappsoftware
on Stack Overflow
See other posts from Stack Overflow
or by buzzappsoftware
Published on 2010-04-25T18:09:44Z
Indexed on
2010/04/25
18:13 UTC
Read the original article
Hit count: 426
iphone-sdk
With respect to CLocationManager docs....
Constant values you can use to specify the accuracy of a location.
extern const CLLocationAccuracy kCLLocationAccuracyBestForNavigation;
extern const CLLocationAccuracy kCLLocationAccuracyBest;
extern const CLLocationAccuracy kCLLocationAccuracyNearestTenMeters;
extern const CLLocationAccuracy kCLLocationAccuracyHundredMeters;
extern const CLLocationAccuracy kCLLocationAccuracyKilometer;
extern const CLLocationAccuracy kCLLocationAccuracyThreeKilometers;
Given that, I have the following questions.
- What triangulation method (GPS, cell tower or wi-fi) corresponds to each accuracy level?
- Does iPhone SDK utilize Skyhook Wireless API?
- For kCLLocationAccuracyBestForNavigation, there is note stating the phone must be plugged in. Is this enforced or is it just warning the developer the battery is likely to drain quick from using the GPS receiver.
Thanks in advance.
© Stack Overflow or respective owner