开发者

Corelocation and assisted gps iPhone

开发者 https://www.devze.com 2023-03-01 06:33 出处:网络
I have a quick question, does the core location in iOS 4.3.2 automatically use assisted gps or is this an option you need to choose.

I have a quick question, does the core location in iOS 4.3.2 automatically use assisted gps or is this an option you need to choose.

I am working with the GPS and I recon that开发者_JAVA百科 the settle time before finding a good accuracy(below 10 meters) is rather long - a few minuts.

Regards

Bjarke


It's all automatic. The best you can do is check the altitude, which is undefined when a GPS fix is not available yet.

edit: see http://developer.apple.com/library/mac/#documentation/CoreLocation/Reference/CLLocation_Class/CLLocation/CLLocation.html

if verticalAccuracy < 0, altitude is invalid (from which you can infer no GPS fix)

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号