Confirm user's selection of “Don't Allow” location services
问题 I am using location services in my app. Initially the app asks the user to allow finding the current location. If the user says "Don't Allow", can I show one more alert to confirm that choice? Then, if the user says "Allow" in that second dialogue, can the app get the current location? 回答1: No you can't, it is managed by the the system. You can/should check if the user allowing you app to get the current location. Because you can change this in the settings app Check can be done like this: if