NSCry
NSCry

Reputation: 1652

Location Data of apple's Core Location

I want to know about Core Location data which is generated by apple.My question is that up to which % is it correct.Whatever I have seen it is not GPS data.Most of time it is collected data from Wifi or cell tower.So data is not 100 % accurate.

If it is anything else then give me some idea as i make it 100 % accurate.

Upvotes: 1

Views: 233

Answers (2)

Firoze Lafeer
Firoze Lafeer

Reputation: 17143

The framework will prefer the fastest, least battery-draining method to get you a location. But if you have a specific accuracy that you need, you just have to tell your CLLocationManager. Look for the desiredAccuracy property and set that.

Also, when you get locations back you should check the CLLocation's accuracy properties to see if that particular observation was accurate enough to do whatever it is you want to do.

Keep in mind that sometimes your users may in a place with good tower or WiFi but poor GPS visibility. So then you'll have to decide if the accuracy you get back is good enough or if you need to tell the user that the function is not possible.

Hope that helps.

Upvotes: 4

KevinDTimm
KevinDTimm

Reputation: 14376

It's not possible for it to be 100% accurate - the return from the API says so, even going so far as giving you the margin for error in every dataset you receive

Upvotes: 4

Related Questions