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

  • SEARCH
  • Home
  • 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 7076823
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T06:20:43+00:00 2026-05-28T06:20:43+00:00

I have configured locationManager as follows. _locationManager = [[CLLocationManager alloc] init]; [_locationManager setDelegate:self]; [_locationManager

  • 0

I have configured locationManager as follows.

_locationManager = [[CLLocationManager alloc] init];
[_locationManager setDelegate:self];
[_locationManager setDesiredAccuracy:kCLLocationAccuracyNearestTenMeters];
[_locationManager setDistanceFilter:kCLDistanceFilterNone];

When the application runs, I get some updates from the delegate methods.
And when I do not change the location, and the mobile is stationary for about 2 hrs, I receive about 10-12 updates in the first 10 mins, and then stop receiving updates.

What I understand is that desiredAccuracy is how long the device will keep trying more and more accurate methods to get the current location. So in my case, it takes about 10 mins to get the desired accuracy.

I want to confirm if this is true. Also is there a way where I can get regular location updates even if the device is not moving?

  • 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-05-28T06:20:44+00:00Added an answer on May 28, 2026 at 6:20 am

    Why would you expect the location to be updated if it hasn’t changed?

    If you want to periodically refresh your results, use an NSTimer you’ve created yourself.


    When the device gets a location with a margin of error < desiredAccuracy, it will stop asking for more accurate results. If the device moves then it will start asking again, until it once again gets the location to the desired accuracy.

    If you’re specifying 10m for the accuracy then you’re almost certainly going to be relying on GPS – cell towers and wifi aren’t that accurate (usually).

    To determine if the device has moved, it uses distance filter – by setting this to none you are asking it to be accurate to the nearest 10m all the time – this is probably going to be quite draining on the battery 😉

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have configured my application to use log4net as follows: <log4net> <appender name=SQL_Comandos type=log4net.Appender.AdoNetAppender>
I have configured my application to use form based authentication and set up the
I have configured Appstats on my Java Appengine application and noticed that a single
I have configured apache with mod_jk, to redirect the /taste context to my application
I have configured my application to work with multiple databases. The magic works just
I have configured my web application to run under windows authentication mode, I also
I have configured mini profiler with asp.net mvc application. I also want to profile
I have configured result as follows : Its my custom result type. <result-types> <result-type
I have configured Reporting Services to allow users to use Report Builder application. Users
I have configured a Spring bean as follows to return a SecurityContext: <bean id=securityContext

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.