Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8863041
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T15:52:35+00:00 2026-06-14T15:52:35+00:00

I am making an application which tracks the user. I have notice when the

  • 0

I am making an application which tracks the user. I have notice when the application goes in the background and then when you open the app it’s shows the wrong current location for the user until about 5 seconds. Is there to fix that because that 5 seconds delay ruins the tracking results ( it’s adds three extra miles for no reason ).

Edit: The issue wasn’t actually a “bug”. I have to set in my Info.plist that I want background pocessing and boom the application tracking is super Accurate. A little tutorial to do that:

  1. Go to Info.plist
  2. Add an New Row called “Required background modes”
  3. Then add again a new row called “App registers for location updates”
  4. We are Done 🙂
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T15:52:37+00:00Added an answer on June 14, 2026 at 3:52 pm

    One thing you can do is check the horizontalAccuracy property on the CLLocation that you’re being returned. If this is above a certain threshold then you could throw away the result and wait for a more accurate one. If it is a number of miles out then I would expect the accuracy figure to be quite large. It’s most likely using a cell site to determine location rather than GPS, and the margin of error would be much greater.

    In your CLLocationManagerDelegate‘s locationManager:didUpdateLocations: method you could do the following:

    - (void)locationManager:(CLLocationManager *)manager didUpdateLocations:(NSArray *)locations {
      if ([locations count] > 0) {
        CLLocation *lastUpdatedLocation = [locations lastObject];
        CLLocationAccuracy desiredAccuracy = 1000; // 1km accuracy
        if (lastUpdatedLocation.horizontalAccuracy > desiredAccuracy) {
          // This location is inaccurate. Throw it away and wait for the next call to the delegate.
          return;
        } 
        // This is where you do something with your location that's accurate enough.
      }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am making on application in which user have to select the time, example
Hey, so I have been making an application which sends weekly notifications at user-specified
I am making an application which is a user interface to access 2 types
I am making an application which will have an interface similar to Photoshop: multiple
i m making an application which shows data on table view with many fields
We have a .NET application which, on a certain server, keeps making various TCP
i am making an application which first compresses a file and then transfer it.
I am making an application in which I have to change the position of
I have been making application in which i click on image and new window
I am making an application which have to be used in different pc's, and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.