问题
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.
回答1:
There is no way to reprompt. You will have to UIAlert the user to go and do it manually.
来源:https://stackoverflow.com/questions/16608856/how-to-get-location-services-to-reprompt-the-user-for-location-permission-if-the