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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T22:06:20+00:00 2026-06-01T22:06:20+00:00

As soon as I install and launch my app for the first time, it

  • 0

As soon as I install and launch my app for the first time, it immediately asks for location services, even though startUpdatingLocation hasn’t been called. I haven’t even allocated a CLLocationManager instance at that point. I’d like this prompt to be done lazily after I actually make the call so the user doesn’t blindly turn it off. Has this flow changed with iOS recently? I remember it used to be lazily asked. I’m using 5.1 firmware.

  • 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-01T22:06:21+00:00Added an answer on June 1, 2026 at 10:06 pm

    Thats interesting. I tested your hypothesis, that the location manager isn’t even allocated and yet the iOS Location Permission dialogue comes up. I tried the following troubleshooting. After every step I ran the project on a device and I could only get the location popup to appear at the last step.

    • Start a new app
    • require location-services in info.plist
    • require gps in info.plist
    • link CoreLocation to the project
    • Import Core Location into header
    • Make and synthesise a property for a location manager
    • ask CLLocationManager for +authorizationStatus
    • ask CLLocationManager for +locationServicesEnabled
    • alloc init a CLLocationManager instance
    • tell CLLocationManager to start updating location.

    Only the final step brought up a prompt.
    To be sure i even created a viewController that pushed a second view controller that initialised a CLLocationManager and started updating the location. The permission popup only came up when the second view controller was pushed. This is all with the latest Xcode running on 5.1.

    I have shown that location services still only asks for permission at the exact moment you try and turn locations on like it has done in previous SDKs. Perhaps check your code, maybe paste some here so we can go into more detail. 🙂

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

Sidebar

Related Questions

I am trying for the first time to install some Ruby gems on Mac
As soon as the user clicks the delete button my jQuery script asks the
I'm soon going to check in the very first commit of a new Java
I'm soon going to be starting some iPhone Development (3.0) building a simple app
This popup comes up as soon as the app is started: The program can't
First let me say that I've been searching to find a solution for a
How can I diagnose apk install issues? I have an app that compiles and
I am trying to install MediaCore on my machine running CentOS as soon as
I'm having an issue where my main form isn't updating even though I see
I attempt to install CorePlot according to the readme file, but as soon as

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.