简体   繁体   中英

How can i understand if location services is using GPS or not to determine user's location in iOS?

Is there any way or method for getting the source of location if it is coming from GPS or from Wifi?

Thanks.

恕我直言,没有办法如何决定,如果信号来自GPS或WIFI或什么(这个处理CoreLocation框架) -但你仍然可以“决定”根据当前的准确性-的horizo​​ntalAccuracy财产和verticalAccuracy财产CLLocation对象。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM