由网友(旧时光的帅气少年!)分享简介:如何编程以显示 iPhone 中的 GPS 可用性和准确度级别?它必须擦除标签中以前的经纬度信息.How to program to show the GPS availability and Accuracy level in an iphone? and it has to wipe the previous l...
如何编程以显示 iPhone 中的 GPS 可用性和准确度级别?它必须擦除标签中以前的经纬度信息.
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有一个方法 locationServicesEnabled
来检查是否服务是否启用
CLLocationManager has a method locationServicesEnabled
to check if the service is enabled or not
[CLLocationManager locationServicesEnabled]
相关推荐
最新文章