I want to use CLLocationManager to get the current user location using GPS antenna, not the cellular network. How can I ensure that?
I want to use CLLocationManager to get the current user location using GPS antenna,
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Your choices is either the standard location service (e.g.
startUpdatingLocation, for which you can specify thedesiredAccuracy), or the low-power significant change service (e.g.,startMonitoringSignificantLocationChanges). But you generally don’t specify location services based upon hardware, but rather on the basis of your app’s functional needs. Use the standard service if you need an accurate location, and try using the significant change service if you don’t need the same level of precision.See the Location Awareness Guide for more information.