0

I am Having a problem In Location Accuracy Using Cellular Network.

Following are the My issues

  1. Sometimes Location accuracy is very perfect in Cellular Networks(3G)

  2. Sometimes Location Accuracy is Not getting perfectly Its one mile difference.

  3. For WiFi Its working Very Perfectly.

Following are My code

    locationManager = [[CLLocationManager alloc] init];
    locationManager.delegate = self;
    locationManager.desiredAccuracy = kCLLocationAccuracyBestForNavigation;
    [locationManager startUpdatingLocation];

Please what is the problem for my code.

PREMKUMAR
  • 8,283
  • 8
  • 28
  • 51
Rajendran
  • 141
  • 3
  • 13

2 Answers2

1

Cellular network location gives an approximate area were the phone existing. It is based on the service providers tower.So i recommend using gps location tracking so that you get the exact longitude and latitude of your phone.

Longitude and latitude can be used to find more details about the location like place,weather etc..

Please refer this

Community
  • 1
  • 1
Sivaprasad Km
  • 712
  • 4
  • 15
0

This is because you can't force the device the location trough satellite (3G or 4G)

You (the app) can only access the location the device gets (And if it have permission).

When you have highest accuracy kCLLocationAccuracyBestForNavigation it will try to get the most accuracy it can get (First GPS, then triangulation/network + aditional sensor data) (Not recommended, this is only for "navigation" it consumes too much energy and assumes it is plugged in).

For this please refer to the Core Location Constants Reference

If you are outdoors you may not have exact location at first, it may take some time to get the best location available to the phone.

Please reffer to the documentation of CLLocationManager desiredAccuracy

When requesting high-accuracy location data, the initial event delivered by the location service may not have the accuracy you requested. The location service delivers the initial event as quickly as possible. It then continues to determine the location with the accuracy you requested and delivers additional events, as necessary, when that data is available.

Azteca
  • 549
  • 6
  • 19