Show GPS availability and Accuracy in Iphone SDK

后端 未结 2 1945
孤街浪徒
孤街浪徒 2021-01-26 07:06

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.

2条回答
  •  别那么骄傲
    2021-01-26 07:40

    CLLocationManager has a method locationServicesEnabled to check if the service is enabled or not

    [CLLocationManager locationServicesEnabled]
    

提交回复
热议问题