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

亡梦爱人 提交于 2020-01-04 06:08:18

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!