cihangirs
cihangirs

Reputation: 55

How can i understand if location services is using GPS or not to determine user's location in iOS?

Is there any way or method for getting the source of location if it is coming from GPS or from Wifi?

Thanks.

Upvotes: 0

Views: 57

Answers (1)

Martin Makarsky
Martin Makarsky

Reputation: 2650

Imho there is no way how to decide if signal comes from GPS or WIFI or whatever (this handles CoreLocation framework) - but you can still "decide" depending on current accuracy - the horizontalAccuracy property and verticalAccuracy property in CLLocation object.

Upvotes: 1

Related Questions