i have application in this application i want to display sorting data using user's location.
but first time when i open application it ask me for allow or not allow for location.
i press don't allow. this never ask me again for location how can i rest this setting.
ya you can do this by going on this way
settings >> general >> reset >>Reset Location warnings
by this doing it will ask again same warning . may be this help you
First option : Then you had to use a button in your app where user can update his location again by pressing the button.
Second Option : Call update location method after some time interval to get the location of the user.
来源:https://stackoverflow.com/questions/5855759/can-i-show-gps-location-pop-message-again