iOS Location Services Alert - What is the delay between showing it?

436 Views Asked by At

Just a quick question here.

I am displaying the the alert for the user to allow the app to access location data, and I have this triggered from a switch.

When the user turns the switch on, the alert will be displayed.

If the user clicks disallow, is there a time restriction that Apple has before you can show that alert again?

Thanks in advance!

1

There are 1 best solutions below

0
On BEST ANSWER

Once the user chooses not to give your app permission to access their location data, the user will not be able to grant your app that permission from within your app. Instead, the user must enter the Settings app and grant the permission from there. This is to prevent the app from bombarding the user with requests to use location data.