CLLocationManager "what if user says no"
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 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?
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.
精彩评论