IOS, CLLocationManager: Display the Repeat Location Services popup

if location services are disabled (after the user has once enabled the service), and then you start location updates, a system pop-up should appear. (in the documentation this is indicated in the description of [CLLocationmanager locationServicesEnabled])

But if I set up a test project that only initializes the CLLocationManager and then calls startLocationUpdates, a pop-up does NOT appear on every application start. But it should, if I understand the documentation correctly?

I'm not talking about the first pop-up menu that asks the user to allow or deny the use of location for this application. I'm talking about a pop-up menu that asks the user to reuse location services in the settings. This pop-up window has a direct button for applying settings. You can see this if you turn off location services and open the map application. Each time you click the locate-me button, a pop-up window appears. Screenshot:

Screenshot Maps App Popup

I want it to display reliably every time the application starts, if services are disabled. (other applications do this the same way, e.g. aroundme)

Thanks Marcus

+7
source share
1 answer

A popup will appear only once (in some cases twice) for the life of the application! This is the result of my tests. If anyone has additional information, feel free to write / contact me! Thanks.

+3
source

All Articles