I am developing one application.In that i am getting the location updates using CLLocation Manager.I know when i call start location updating method gps is turn off and when we call stop location updating gps is turn off.But i want to turn off the gps and still i want to get the location updates using cellular towers or wifi.how to do this one.
I am developing one application.In that i am getting the location updates using CLLocation
Share
You can use the
desiredAccuracyproperty ofCLLocationManagerto tell the system how accurate the location needs to be. You don’t have control over whether GPS gets turned on or not, but setting thedesiredAccuracyto a lower accuracy consumes less power.From the CLLocationManager Class Reference: