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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T14:31:51+00:00 2026-06-09T14:31:51+00:00

I have an app which is using CLLocationManager in background and in foreground Mapkit

  • 0

I have an app which is using CLLocationManager in background and in foreground Mapkit to show the users location. I have no BackgroundModes activated. So if my app goes in background I stop show user Location with [mapview setShowsUserLocation:NO]. And in appDelegate I start LocationManager and stop it every 30s with [locationManager startUpdatingLocation] and [locationManager stopUpdatingLocation] (no worries about battery drain in this moment) to get the user location in Background. So lets say the locationManager is 5seconds on and 25seconds off. This 25 seconds the location services indicator should be away, right? But it isn’t. Even if I didn’t tell the LocationManager to Start the indicator is there all the time. Killing the app doesn’t help, only to turn location services off in the settings. But if I turn it back on then the indicator will be there again all the time.

I tried everything in different posts even in these:
Locationservice Indicator stays "on"
Location services don't stop when application is terminated

And I’ll never call locationManager=nil or release it.
So crazy.. can everybody help me pls?


Update: So this drives me really crazy. Stuck on this since couple of days. And only tested it on my real iPhone. Now I tried it with iPad and iPhone Simulator and on both devices it is as I expected to be: 5 seconds the indicator is on and 25 seconds the indicator is away, when app is in background. So is it a bug on my real phone or do anybody have some suggestions? I have 5.1.1 on it and a jailbreak but this should not affect it!?

Thanks for any help 🙂

  • 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-09T14:31:52+00:00Added an answer on June 9, 2026 at 2:31 pm

    Ok I just figured it out. This Post helped me.

    “From your iOS Settings select General | Reset | Reset Location Warnings. This will reset the warning to all the apps. This mean that the next time you start an app that requires location, the iOS will prompt you with the location permission dialog. Select ‘Reset Warnings’ from the action sheet.”

    I called this a few times and afterwards it was working as I expected (and as it worket in Simulator all the time) :-)! Now I can think about draining the battery etc…

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

Sidebar

Related Questions

I have an app which stores co-ordinates. I am using Google maps to show
I have a FB App which I created using Fandjango. It works fine if
I have Ripple which im using to test app made for android. App is
I have developed a blackberry app, in which I am using Persistent Storage to
I have created an animated game app, In which I am using NSTimer to
I have an ASP.NET(2.0 using C#) web app, in which I have a gridview.
I have a backward compatible app which is using screen specific layout (only for
I have a web app which orders stuff using a timestamp, which is just
I have been working on an app which includes using the devices camera. After
I have an app which runs using sandboxing. How can I run it without

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.