开发者

CLLocationManager "what if user says no"

开发者 https://www.devze.com 2023-02-14 12:15 出处:网络
Two questions: If the user says \'开发者_开发百科no\' what is the best way to handle this?My app depends on location as I show them how far they are form things (3.8 miles away, .2 miles away, 5 mil

Two questions:

  1. If the user says '开发者_开发百科no' what is the best way to handle this? My app depends on location as I show them how far they are form things (3.8 miles away, .2 miles away, 5 miles away, etc...). What has everyone else done when the user says no? Can you get access anyway via the phone, like general city "Dallas, tx"? Maybe I should set them at some random location like Africa so they can't get to data locally, but can still see the features?

  2. If they say "no", I am reading you can't ask them again. How would I go about locking down the UI?


I would implement some demo mode and show the user all the wonderful things he is missing, rather than shutting down the UI. You could also hint, that, if he changes his mind, he can always reopen the app, and answer the question with YES.

0

精彩评论

暂无评论...
验证码 换一张
取 消