Corelocation和辅助GPS iPhone [英] Corelocation and assisted gps iPhone

查看:114
本文介绍了Corelocation和辅助GPS iPhone的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个简单的问题,iOS 4.3.2的核心位置是否自动使用辅助GPS,或者您需要选择这个选项。



我工作正常与GPS和我重新找到解决时间,然后找到一个很好的准确性(低于10米)是相当长的 - 几分钟。

问候



Bjarke

解决方案

全都是自动的。您可以做的最好的办法是检查海拔高度,当GPS定位尚不可用时,海拔高度是未定义的。

编辑:请参阅 http://developer.apple.com/library/mac/#documentation/CoreLocation/Reference /CLLocation_Class/CLLocation/CLLocation.html



if verticalAccuracy< 0,高度是无效的(从中你可以推断没有GPS定位)

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 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)

这篇关于Corelocation和辅助GPS iPhone的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆