简体   繁体   中英

Disabling GPS or WIFI in IOS

I just wanted to know if there was a way to either stop using the GPS chip or stop using the XPS service provided within the framework of IOS? I am creating a test app and would like to be able to give the user the ability to just use the GPS signal or to use the WIFI assisted model in getting their location. I know that disabling the GPS updates is just the stopUpdatingLocation but that stops all of CLLocation and I would still like to be able to get a location but from either the assisted model (XPS) or just use the GPS.

Thanks,

Here comes a boring answer - no, it's not possible. There is no way to specify or even check which "channel" a location comes in from in IOS.

In this regard, Android is way better.

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