The geolocation API is designed in such a way that it does not annoy the user with repeated requests after they are reduced. You can reset specify location alerts from the settings app, but thatβs all you can do.
As soon as the user denies the permission for geolocation twice, the API will assume that he does not want this and does not ask again.
Exact wording from Core Location documentation:
If a user denies your location services to your applications, this method reports a kCLErrorDenied error. After receiving such an error, you should stop the location service.
Jasarien
source share