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

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

문제

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.

올바른 솔루션이 없습니다

다른 팁

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top