Corelocation and assisted gps iPhone

前端 未结 1 1137
失恋的感觉
失恋的感觉 2020-12-20 04:08

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

相关标签:
1条回答
  • 2020-12-20 04:51

    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 讨论(0)
提交回复
热议问题