Refresh widget on location permission change

I noticed the OS seems to refresh my widget automatically when I update the location permission. But this doesn't seem to apply for the precise location option. Is it intended? If so, is there a way to monitor this change on the widget instead of waiting for the next timeline?

The only thing that seems to work is using the app to always monitor the location of the user in background to catch the permission change and request a refresh via WidgetCenter but it is not really a good solution.
Answered by mmongeau in 647172022
After some digging, the problem is I was still using the deprecated method - [CLLocationManagerDelegate locationManager:didChangeAuthorizationStatus]. This implementation is not called when re-enabling the precise location from the Settings. Only the new method since iOS 14 -[CLLocationManagerDelegate locationManagerDidChangeAuthorization:] is called in this situation.
Accepted Answer
After some digging, the problem is I was still using the deprecated method - [CLLocationManagerDelegate locationManager:didChangeAuthorizationStatus]. This implementation is not called when re-enabling the precise location from the Settings. Only the new method since iOS 14 -[CLLocationManagerDelegate locationManagerDidChangeAuthorization:] is called in this situation.
Refresh widget on location permission change
 
 
Q