在Iphone SDK中显示GPS可用性和准确性 [英] Show GPS availability and Accuracy in Iphone SDK
本文介绍了在Iphone SDK中显示GPS可用性和准确性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何编程以显示iPhone的GPS可用性和准确性水平?并且它必须清除标签中的前一个经纬度信息。
apple.com/documentation/corelocation/cllocationmanagerrel =nofollow noreferrer> CLLocationManager 有一个方法<$ p $ rel =nofollow noreferrer>
locationServicesEnabled
检查服务是否已启用 p> [CLLocationManager locationServicesEnabled]
How to program to show the GPS availability and Accuracy level in an iphone? and it has to wipe the previous lat, lon info in label.
解决方案
CLLocationManager has a method locationServicesEnabled
to check if the service is enabled or not
[CLLocationManager locationServicesEnabled]
这篇关于在Iphone SDK中显示GPS可用性和准确性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文