How to get location services to reprompt the user for location permission if they accidentally refused it?

StackOverflow https://stackoverflow.com/questions/16608856

Question

When the users are asked to allow the user location, if they select accidentally "NO", then this alert is never shown in our app. Is there any option to reprompt the alert every time they open the app.After referring S.O question, many are suggesting this not all possible.Only thing can be do is, we have alert the user to turn-on location service in settings.

But in some S.O questions, starting CLLocationManager update method every time based on the user's selection we can reprompt the alert.Is it possible to achieve this?

Now my doubt is, is it possible to reprompt the alert when the user don't allow for the first time?

Please share your ideas.

Thank you.

Pas de solution correcte

Autres conseils

There is no way to reprompt. You will have to UIAlert the user to go and do it manually.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top