I'm developing an app where I need to switch on
/ switch off
GPS
automatically without user intervention.
Note:The application is for In-house purpose.
Thanks in advance
You can't toggle the GPS. The GPS will always be on unless your airplane mode is on. You can pause your CoreLocation datafeed but I highly doubt that's what you wanted to do.
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.