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 8991255
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T22:41:02+00:00 2026-06-15T22:41:02+00:00

I have to develop a kind of GPS navigation application that needs to constantly

  • 0

I have to develop a kind of GPS navigation application that needs to constantly keep track of the position of the user, which is moving by car.
In the specific, I don’t have to display the current location on a map but just to record its position with the best possible precision in order to calculate the total distance traveled.

Of course the application needs to continue its work in background if the user switch to another app, a phone call come in or something like that…

From the tests I have made and from what I have learned from this useful post (and from the documentation), it seems to me that the best choice in this case is the Standard location service, with the application configured with the UIBackgroundModes = location in the .plist file.
In this way it will continue to receive the location updates even if in background and it will never be suspended by the OS (this is actually true only if [locationManager startUpdatingLocation] has been called). This is also confirmed by this guys.
I have personally verified that is true simply by running the app with Instruments and the Memory monitor module where you can see the various flags about the app states, putting the app in background first with UIBackgroundModes set to location and startUpdatingLocation active, and after without it.

  • 1) I’m now wondering what to do when the app is terminated when it is tracking the position. I don’t want to loose any location updates so I need to wake up it again whenever a new update is available.
    The documentation say:

Important: The applicationWillTerminate: method is not called if your
app is currently suspended.

But because in my case it will be never suspended (it will stay in background but not suspended), my logical conclusion is that applicationWillTerminate will be always called and so I could register for a Significant location update or Region monitoring inside of this method in order to be waked up and then restart the Standard location service.
Is applicationWillTerminate the right place to put this code?

  • 2) An application working in background but not suspended could be terminated by the OS for no other reasons than a very low memory condition or for my app don’t properly respond to a memory warning? (the user could also manually close it). I was concerned if applicationWillTerminate wouldn’t be called in some way.

  • 3) Could Apple not approve an app which constantly use the standard location services in background because of its quick battery drain?
    Have you ever had approve problems for similar apps?

  • 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-15T22:41:03+00:00Added an answer on June 15, 2026 at 10:41 pm

    since you are asking many questions which you shoukd not do here, i cam give you only aswrs to a part of it.

    if the app is terminated, then you cannot restart it anymore.
    This is usually the case when the user terminates the app.
    Dont worry Apple ( ios) will not terminate your app. your app will not use much memory, games with huge bitmap graphics are more likely to be termin.

    1. evry gps app will drain the bat. that is not a reason for not aproving.

    2. suspended means that app is not in background mode, it is sleeping. you will not receive Gps, so there is no need to call you on terminate. you have to save data before, see the apple docu on background modes and app life cycle.

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

Sidebar

Related Questions

Here's a problem. Developers have some kind of a task (develop certain feature), which
I have to develop a application (Winforms-application) which is connected to a database within
We're starting to develop a Web application that will have some complex functionality written
I have to develop an ASP.NET MVC3 application in C# and Razor that has
I have to develop an application which fulfills following demands: It has to be
I have to develop an Intensity Meter, which will basically display the average intensity
We have to develop an Ecommerce site with 20+ pages of static content which
For my schoolproject I have to develop an Android app that continuously tracks the
We have this huge application that has 18 projects in our source control (
My company is to develop a touchscreen application. We have some prior experience with

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.